[alpine-devel] [PATCH] testing/thttpd: create group
Export this patch
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.
---
testing/thttpd/thttpd.pre-install | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/thttpd/thttpd.pre-install b/testing/thttpd/thttpd.pre-install
index 1094a4b..f740838 100644
--- a/testing/thttpd/thttpd.pre-install
+++ b/testing/thttpd/thttpd.pre-install
@@ -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
--
2.6.0
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---