aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamsmtp
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:41 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:56:47 +0000
commitda4e96aacef5e9bd9a7dccecffdc92f588a6dd78 (patch)
tree6121ad4aa9d1cb1aca5c3aac0fbde35f4943b50c /main/clamsmtp
parent8ac766921c78afe221fa463b6ec07e9e4da4d520 (diff)
downloadaports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.bz2
aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.xz
Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present): addgroup -S -g ... GROUP adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
Diffstat (limited to 'main/clamsmtp')
-rw-r--r--main/clamsmtp/clamsmtp.pre-install2
-rw-r--r--main/clamsmtp/clamsmtp.pre-upgrade2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/clamsmtp/clamsmtp.pre-install b/main/clamsmtp/clamsmtp.pre-install
index b442a43cfd..d1e52fb016 100644
--- a/main/clamsmtp/clamsmtp.pre-install
+++ b/main/clamsmtp/clamsmtp.pre-install
@@ -1,5 +1,5 @@
#!/bin/sh
-adduser -S -H -s /sbin/nologin -D -g clamav clamav 2>/dev/null
+adduser -S -D -H -s /sbin/nologin -g clamav clamav 2>/dev/null
exit 0
diff --git a/main/clamsmtp/clamsmtp.pre-upgrade b/main/clamsmtp/clamsmtp.pre-upgrade
index a58c165100..959576dd40 100644
--- a/main/clamsmtp/clamsmtp.pre-upgrade
+++ b/main/clamsmtp/clamsmtp.pre-upgrade
@@ -10,6 +10,6 @@ if [ -f "$old" ] && [ ! -f "$new" ]; then
echo " *"
fi
-adduser -S -H -s /bin/false -D -g clamav clamav 2>/dev/null
+adduser -S -D -H -s /bin/false -g clamav clamav 2>/dev/null
exit 0