aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tengine/tengine.pre-install
diff options
context:
space:
mode:
authorDennis Przytarski <dennis@przytarski.com>2014-08-20 06:37:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-08-25 06:36:15 +0000
commitea9eb8fce3c244c12d7ae007def19847229f680b (patch)
treec8f06e4aa5edce7e2be77ab0c8df580768ca4aac /testing/tengine/tengine.pre-install
parent5857d68a098f3cc8dafff4c0e84b940b4a21ef1b (diff)
downloadaports-ea9eb8fce3c244c12d7ae007def19847229f680b.tar.bz2
aports-ea9eb8fce3c244c12d7ae007def19847229f680b.tar.xz
testing/tengine: fix install
Diffstat (limited to 'testing/tengine/tengine.pre-install')
-rw-r--r--testing/tengine/tengine.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/tengine/tengine.pre-install b/testing/tengine/tengine.pre-install
new file mode 100644
index 0000000000..5d0abf7849
--- /dev/null
+++ b/testing/tengine/tengine.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+addgroup -g 82 -S www-data 2>/dev/null
+addgroup -S tengine 2>/dev/null
+adduser -S -G tengine -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+ -D tengine 2>/dev/null
+addgroup tengine www-data 2>/dev/null
+
+exit 0