aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tengine
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 /testing/tengine
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 'testing/tengine')
-rw-r--r--testing/tengine/tengine.pre-install4
-rw-r--r--testing/tengine/tengine.pre-upgrade4
2 files changed, 4 insertions, 4 deletions
diff --git a/testing/tengine/tengine.pre-install b/testing/tengine/tengine.pre-install
index 5a3d4b1f56..bb59be1f4f 100644
--- a/testing/tengine/tengine.pre-install
+++ b/testing/tengine/tengine.pre-install
@@ -2,8 +2,8 @@
addgroup -S -g 82 www-data 2>/dev/null
addgroup -S tengine 2>/dev/null
-adduser -S -G tengine -H -h /var/www/localhost/htdocs -s /sbin/nologin \
- -D -g tengine tengine 2>/dev/null
+adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+ -G tengine -g tengine tengine 2>/dev/null
addgroup tengine www-data 2>/dev/null
exit 0
diff --git a/testing/tengine/tengine.pre-upgrade b/testing/tengine/tengine.pre-upgrade
index 5a3d4b1f56..bb59be1f4f 100644
--- a/testing/tengine/tengine.pre-upgrade
+++ b/testing/tengine/tengine.pre-upgrade
@@ -2,8 +2,8 @@
addgroup -S -g 82 www-data 2>/dev/null
addgroup -S tengine 2>/dev/null
-adduser -S -G tengine -H -h /var/www/localhost/htdocs -s /sbin/nologin \
- -D -g tengine tengine 2>/dev/null
+adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+ -G tengine -g tengine tengine 2>/dev/null
addgroup tengine www-data 2>/dev/null
exit 0