aports/testing/thttpd/thttpd.pre-install
Przemyslaw Pawelczyk da4e96aace 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
2016-04-25 06:56:47 +00:00

9 lines
197 B
Bash

#!/bin/sh
addgroup -S -g 82 www-data 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