aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tengine
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:35 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:51:49 +0000
commit694ace841f5e455f9a44087a3657594937ae23ad (patch)
treef6776037f12e957ce0b9dd2a78815528e0d26d7a /testing/tengine
parenta49cde0fde894f012aea0fb2a420412e27ca5533 (diff)
downloadaports-694ace841f5e455f9a44087a3657594937ae23ad.tar.bz2
aports-694ace841f5e455f9a44087a3657594937ae23ad.tar.xz
Reorder options passed to addgroup in scripts: make -S first.
It's only for consistency and to ease spotting lack of it.
Diffstat (limited to 'testing/tengine')
-rw-r--r--testing/tengine/tengine.pre-install2
-rw-r--r--testing/tengine/tengine.pre-upgrade2
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/tengine/tengine.pre-install b/testing/tengine/tengine.pre-install
index 5d0abf7849..5e3285530d 100644
--- a/testing/tengine/tengine.pre-install
+++ b/testing/tengine/tengine.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
-addgroup -g 82 -S www-data 2>/dev/null
+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 tengine 2>/dev/null
diff --git a/testing/tengine/tengine.pre-upgrade b/testing/tengine/tengine.pre-upgrade
index 5d0abf7849..5e3285530d 100644
--- a/testing/tengine/tengine.pre-upgrade
+++ b/testing/tengine/tengine.pre-upgrade
@@ -1,6 +1,6 @@
#!/bin/sh
-addgroup -g 82 -S www-data 2>/dev/null
+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 tengine 2>/dev/null