aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sipwise-sems/sipwise-sems.pre-install
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2015-05-14 14:09:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-15 11:44:06 +0000
commit8df570d9915181c49b21f33244fa21bf970b4002 (patch)
treeca5a7261bd02b5367c5a544f238c790a8eae7769 /testing/sipwise-sems/sipwise-sems.pre-install
parenta824d445bbe2abb22ca2362898b7e72054639120 (diff)
downloadaports-8df570d9915181c49b21f33244fa21bf970b4002.tar.bz2
aports-8df570d9915181c49b21f33244fa21bf970b4002.tar.xz
new aport: sipwise-sems [3.8.1.1]
This is sipwise.com's fork of sems, based on 1.6.0-dev + nightlies
Diffstat (limited to 'testing/sipwise-sems/sipwise-sems.pre-install')
-rw-r--r--testing/sipwise-sems/sipwise-sems.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/sipwise-sems/sipwise-sems.pre-install b/testing/sipwise-sems/sipwise-sems.pre-install
new file mode 100644
index 0000000000..6241566f3c
--- /dev/null
+++ b/testing/sipwise-sems/sipwise-sems.pre-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if ! getent group sems >/dev/null; then
+ addgroup -S sems
+fi
+if ! getent passwd sems >/dev/null; then
+ adduser -S -H -h /var/empty -s /sbin/nologin -D -G sems sems 2>/dev/null
+fi
+
+exit 0