aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2
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 /main/apache2
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 'main/apache2')
-rw-r--r--main/apache2/apache2.pre-install2
-rw-r--r--main/apache2/apache2.pre-upgrade2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/apache2/apache2.pre-install b/main/apache2/apache2.pre-install
index 7b93899334..762de83910 100644
--- a/main/apache2/apache2.pre-install
+++ b/main/apache2/apache2.pre-install
@@ -1,5 +1,5 @@
#!/bin/sh
-addgroup -g 82 -S www-data 2>/dev/null
+addgroup -S -g 82 www-data 2>/dev/null
adduser -H -h /var/www -s /sbin/nologin -D apache 2>/dev/null
addgroup apache www-data 2>/dev/null
exit 0
diff --git a/main/apache2/apache2.pre-upgrade b/main/apache2/apache2.pre-upgrade
index d5005d2301..dbc1d68e43 100644
--- a/main/apache2/apache2.pre-upgrade
+++ b/main/apache2/apache2.pre-upgrade
@@ -1,5 +1,5 @@
#!/bin/sh
-addgroup -g 82 -S www-data 2>/dev/null
+addgroup -S -g 82 www-data 2>/dev/null
addgroup apache www-data 2>/dev/null
exit 0