aboutsummaryrefslogtreecommitdiffstats
path: root/community/thttpd/thttpd.pre-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 08:41:09 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 08:41:09 +0000
commitf90c15a50a5cefedf36bd7c043d5069b3652c092 (patch)
treed497bdbbaffcb5c6187e79913f7a95808676ada8 /community/thttpd/thttpd.pre-install
parent53a4f790089c6699afc42a41e31ea685f1699b18 (diff)
downloadaports-f90c15a50a5cefedf36bd7c043d5069b3652c092.tar.bz2
aports-f90c15a50a5cefedf36bd7c043d5069b3652c092.tar.xz
community/thttpd: moved from testing
Diffstat (limited to 'community/thttpd/thttpd.pre-install')
-rw-r--r--community/thttpd/thttpd.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/thttpd/thttpd.pre-install b/community/thttpd/thttpd.pre-install
new file mode 100644
index 0000000000..47dd3b0663
--- /dev/null
+++ b/community/thttpd/thttpd.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+addgroup -S -g 82 www-data 2>/dev/null
+adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+ -g thttpd thttpd 2>/dev/null
+addgroup thttpd www-data 2>/dev/null
+
+exit 0