From da4e96aacef5e9bd9a7dccecffdc92f588a6dd78 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Sat, 23 Apr 2016 13:13:41 +0200 Subject: 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 --- testing/thttpd/thttpd.pre-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/thttpd') diff --git a/testing/thttpd/thttpd.pre-install b/testing/thttpd/thttpd.pre-install index 12e860797e..47dd3b0663 100644 --- a/testing/thttpd/thttpd.pre-install +++ b/testing/thttpd/thttpd.pre-install @@ -1,8 +1,8 @@ #!/bin/sh addgroup -S -g 82 www-data 2>/dev/null -adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin \ - -D -g thttpd thttpd 2>/dev/null +adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin \ + -g thttpd thttpd 2>/dev/null addgroup thttpd www-data 2>/dev/null exit 0 -- cgit v1.2.3