summaryrefslogtreecommitdiffstats
path: root/debian/deluged.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-19 16:14:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-19 16:44:38 +0000
commit87c7e130c1b6acfee7e4ec81c440e1f7b45aaaf3 (patch)
treee49b99b18ae42b428742ecb55448e6ee02b62bed /debian/deluged.postinst
parentReworking maintainer scripts. (diff)
downloaddeluge-87c7e130c1b6acfee7e4ec81c440e1f7b45aaaf3.tar.xz
deluge-87c7e130c1b6acfee7e4ec81c440e1f7b45aaaf3.zip
Switching from adduser to using required utilities from shadow directly.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/deluged.postinst')
-rwxr-xr-xdebian/deluged.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/deluged.postinst b/debian/deluged.postinst
index 4ed3c92..3e043a9 100755
--- a/debian/deluged.postinst
+++ b/debian/deluged.postinst
@@ -14,7 +14,7 @@ case "${1}" in
configure)
if ! getent passwd debian-deluged > /dev/null 2>&1
then
- adduser --system --group --quiet --no-create-home --home /var/lib/deluged debian-deluged
+ useradd --system -g debian-deluged --home-dir /var/lib/deluged debian-deluged
fi
Add_override debian-deluged adm 2750 /var/log/deluged