aboutsummaryrefslogtreecommitdiffstats
path: root/main/mini_httpd
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/mini_httpd
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/mini_httpd')
-rw-r--r--main/mini_httpd/mini_httpd.pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/mini_httpd/mini_httpd.pre-install b/main/mini_httpd/mini_httpd.pre-install
index d84f0b7718..3b5258af4b 100644
--- a/main/mini_httpd/mini_httpd.pre-install
+++ b/main/mini_httpd/mini_httpd.pre-install
@@ -7,7 +7,7 @@ if [ -f /etc/mini_httpd.conf ] && ! [ -L /etc/mini_httpd.conf ]; then
&& ln -s mini_httpd/mini_httpd.conf /etc/mini_httpd.conf
fi
-addgroup -g 82 -S www-data 2>/dev/null
+addgroup -S -g 82 www-data 2>/dev/null
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D minihttpd 2>/dev/null
addgroup minihttpd www-data 2>/dev/null