mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-04 13:12:33 +01:00
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.
7 lines
179 B
Bash
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
|