testing/thttpd: create group

The pre-install script assumed the thttpd group already exists,
but it doesn't and thus adduser -G thttpd will fail, leading to a cascading
failure in the pre-install script.
This commit is contained in:
Shiz 2015-10-07 03:47:29 +02:00 committed by Natanael Copa
parent 8721663b6e
commit 15c146fc2a

View File

@ -1,6 +1,6 @@
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
adduser -S -G thttpd -H -h /var/www/localhost/htdocs -s /sbin/nologin \
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D thttpd 2>/dev/null
addgroup thttpd www-data 2>/dev/null