summaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-16 07:20:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-16 07:35:57 +0000
commit27568dfd3000a20f2615ec4ee0f87d6ef5fc8583 (patch)
treea6e70a9fd9231377bf9222375cf851c658be4851 /main/nginx/nginx.pre-install
parentdcb0bd1dd20cac445b8988837d6f792a91a3c33b (diff)
downloadaports-27568dfd3000a20f2615ec4ee0f87d6ef5fc8583.tar.bz2
aports-27568dfd3000a20f2615ec4ee0f87d6ef5fc8583.tar.xz
main/nginx: remove --host --build as its not autotools
Diffstat (limited to 'main/nginx/nginx.pre-install')
-rw-r--r--main/nginx/nginx.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/nginx/nginx.pre-install b/main/nginx/nginx.pre-install
new file mode 100644
index 000000000..8d0a58c6f
--- /dev/null
+++ b/main/nginx/nginx.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup nginx 2>/dev/null
+adduser -S -H -h /dev/null -s /sbin/nologin -D -G nginx nginx 2>/dev/null
+exit 0