diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-04-23 13:13:41 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-25 06:56:47 +0000 |
commit | da4e96aacef5e9bd9a7dccecffdc92f588a6dd78 (patch) | |
tree | 6121ad4aa9d1cb1aca5c3aac0fbde35f4943b50c /main/djbdns | |
parent | 8ac766921c78afe221fa463b6ec07e9e4da4d520 (diff) | |
download | aports-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/djbdns')
-rw-r--r-- | main/djbdns/dnscache.pre-install | 2 | ||||
-rw-r--r-- | main/djbdns/tinydns.pre-install | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/djbdns/dnscache.pre-install b/main/djbdns/dnscache.pre-install index 1b58fffa1c..664732ca54 100644 --- a/main/djbdns/dnscache.pre-install +++ b/main/djbdns/dnscache.pre-install @@ -1,5 +1,5 @@ #!/bin/sh -adduser -S -h /etc/dnscache -g dnscache -s /sbin/nologin -H -D dnscache 2>/dev/null +adduser -S -D -H -h /etc/dnscache -g dnscache -s /sbin/nologin dnscache 2>/dev/null exit 0 diff --git a/main/djbdns/tinydns.pre-install b/main/djbdns/tinydns.pre-install index 094f0d8fc2..85ba7e7e20 100644 --- a/main/djbdns/tinydns.pre-install +++ b/main/djbdns/tinydns.pre-install @@ -1,5 +1,5 @@ #!/bin/sh -adduser -S -h /etc/tinydns -g tinydns -s /sbin/nologin -H -D tinydns 2>/dev/null +adduser -S -D -H -h /etc/tinydns -s /sbin/nologin -g tinydns tinydns 2>/dev/null exit 0 |