aports/testing/thttpd/thttpd.pre-install
Shiz 15c146fc2a 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.
2015-10-20 08:16:57 +00:00

7 lines
179 B
Bash

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