summaryrefslogtreecommitdiffstats
path: root/main/kamailio/kamailio.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-21 11:11:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-21 11:11:59 +0000
commitcafd5ca6dd4491ae8387e5da0754526dfad30e44 (patch)
tree9e9704dca3155668bb8ec7f001855f1bfcf8b3fa /main/kamailio/kamailio.pre-install
parent80957762346bbb311d056d365053ec26552ea160 (diff)
downloadaports-cafd5ca6dd4491ae8387e5da0754526dfad30e44.tar.bz2
aports-cafd5ca6dd4491ae8387e5da0754526dfad30e44.tar.xz
main/kamailio: fix the pre-install/pre-upgrade to create the kamailio group
fixes #388
Diffstat (limited to 'main/kamailio/kamailio.pre-install')
-rw-r--r--main/kamailio/kamailio.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/kamailio/kamailio.pre-install b/main/kamailio/kamailio.pre-install
index 78dfa38bf..84b28849a 100644
--- a/main/kamailio/kamailio.pre-install
+++ b/main/kamailio/kamailio.pre-install
@@ -1,5 +1,6 @@
#!/bin/sh
-adduser -H -h /var/empty -s /bin/false -D kamailio 2>/dev/null
+addgroup kamailio 2>/dev/null
+adduser -H -h /var/empty -s /bin/false -D -G kamailio kamailio 2>/dev/null
exit 0