From 694ace841f5e455f9a44087a3657594937ae23ad Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Sat, 23 Apr 2016 13:13:35 +0200 Subject: Reorder options passed to addgroup in scripts: make -S first. It's only for consistency and to ease spotting lack of it. --- main/mini_httpd/mini_httpd.pre-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/mini_httpd') 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 -- cgit v1.2.3