Subject: [alpine-devel] [PATCH] testing/thttpd: create group

From: Shiz <[email-masked]>
Date: Wed, 7 Oct 2015 03:47:29 +0200

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:  [email-masked]
Help:         [email-masked]
---