aboutsummaryrefslogtreecommitdiffstats
path: root/main/dansguardian/dansguardian.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-06 07:40:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-06 07:42:24 +0000
commit36712432276b02bb18c815cd02cb2173d7a829f3 (patch)
tree1a9dc5dd16dbee8b30def24340272ecef6ddb68b /main/dansguardian/dansguardian.pre-install
parentd9ba721d7fff5e17a2182690e272dcee8dd1e2f8 (diff)
downloadaports-36712432276b02bb18c815cd02cb2173d7a829f3.tar.bz2
aports-36712432276b02bb18c815cd02cb2173d7a829f3.tar.xz
main/dansguardian: upgrade to 2.12.0.3
ref #1629
Diffstat (limited to 'main/dansguardian/dansguardian.pre-install')
-rw-r--r--main/dansguardian/dansguardian.pre-install8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/dansguardian/dansguardian.pre-install b/main/dansguardian/dansguardian.pre-install
index 2d06f3a6f6..f5c8bbf968 100644
--- a/main/dansguardian/dansguardian.pre-install
+++ b/main/dansguardian/dansguardian.pre-install
@@ -1,5 +1,9 @@
#!/bin/sh
-adduser -h /var/log/dansguardian -s /bin/false -D dansguar 2>/dev/null
-exit 0
+addgroup -S dansguar 2>/dev/null
+adduser -S -D -H \
+ -h /var/log/dansguardian \
+ -s /sbin/nologin \
+ -G dansguar \
+ dansguar 2>/dev/null || true