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 /unmaintained | |
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 'unmaintained')
4 files changed, 4 insertions, 4 deletions
diff --git a/unmaintained/apache-couchdb/apache-couchdb.post-install b/unmaintained/apache-couchdb/apache-couchdb.post-install index ae1da50210..1946d2b5b4 100755 --- a/unmaintained/apache-couchdb/apache-couchdb.post-install +++ b/unmaintained/apache-couchdb/apache-couchdb.post-install @@ -1,6 +1,6 @@ #!/bin/sh addgroup -S couchdb 2>/dev/null -adduser -S -h /var/run/couchdb -s /bin/false -G couchdb -D -g couchdb couchdb 2>/dev/null +adduser -S -D -h /var/run/couchdb -s /bin/false -G couchdb -g couchdb couchdb 2>/dev/null exit 0 diff --git a/unmaintained/ejabberd-git/ejabberd-git.pre-install b/unmaintained/ejabberd-git/ejabberd-git.pre-install index efda04bed6..61c3d72f73 100644 --- a/unmaintained/ejabberd-git/ejabberd-git.pre-install +++ b/unmaintained/ejabberd-git/ejabberd-git.pre-install @@ -1,5 +1,5 @@ #!/bin/sh -adduser -S -H -h /var/lib/ejabberd -G ejabberd -D -g ejabberd ejabberd 2>/dev/null +adduser -S -D -H -h /var/lib/ejabberd -G ejabberd -g ejabberd ejabberd 2>/dev/null exit 0 diff --git a/unmaintained/kde-workspace/kde-workspace.pre-install b/unmaintained/kde-workspace/kde-workspace.pre-install index b55298b1ea..a54f3ada6f 100644 --- a/unmaintained/kde-workspace/kde-workspace.pre-install +++ b/unmaintained/kde-workspace/kde-workspace.pre-install @@ -3,6 +3,6 @@ name=kdm addgroup -S $name 2>/dev/null -adduser -S -H -h /var/run/kdm -s /bin/false -D -G $name -g $name $name 2>/dev/null +adduser -S -D -H -h /var/run/kdm -s /bin/false -G $name -g $name $name 2>/dev/null exit 0 diff --git a/unmaintained/shadowircd/shadowircd.pre-install b/unmaintained/shadowircd/shadowircd.pre-install index 58b2a85c80..4120e456a6 100644 --- a/unmaintained/shadowircd/shadowircd.pre-install +++ b/unmaintained/shadowircd/shadowircd.pre-install @@ -1,5 +1,5 @@ #!/bin/sh -adduser -S -h /var/run/shadowircd -s /bin/false -D -g ircd ircd 2>/dev/null +adduser -D -S -h /var/run/shadowircd -s /bin/false -g ircd ircd 2>/dev/null exit 0 |