summaryrefslogtreecommitdiffstats
path: root/debian/deluged.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/deluged.postinst')
-rwxr-xr-xdebian/deluged.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/deluged.postinst b/debian/deluged.postinst
index 3e043a9..fb3249b 100755
--- a/debian/deluged.postinst
+++ b/debian/deluged.postinst
@@ -12,6 +12,11 @@ Add_override ()
case "${1}" in
configure)
+ if ! getent group debian-deluged > /dev/null 2>&1
+ then
+ groupadd --system debian-deluged
+ fi
+
if ! getent passwd debian-deluged > /dev/null 2>&1
then
useradd --system -g debian-deluged --home-dir /var/lib/deluged debian-deluged