aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ejabberd/ejabberd.pre-install
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-06-06 12:29:20 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-06-06 12:29:46 +0000
commit0aec3382ed322329f16405587d87131018613785 (patch)
tree7f0b78dfe9fa55de6ea94f4a697937c7eabbc4ca /testing/ejabberd/ejabberd.pre-install
parentd23eac883f7d3e3f659ce044d8bc9fa433cad080 (diff)
downloadaports-0aec3382ed322329f16405587d87131018613785.tar.bz2
aports-0aec3382ed322329f16405587d87131018613785.tar.xz
testing/ejabberd: fixed creation of users and group in pre-install
Diffstat (limited to 'testing/ejabberd/ejabberd.pre-install')
-rw-r--r--testing/ejabberd/ejabberd.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/ejabberd/ejabberd.pre-install b/testing/ejabberd/ejabberd.pre-install
new file mode 100644
index 0000000000..749c04cb54
--- /dev/null
+++ b/testing/ejabberd/ejabberd.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+addgroup ejabberd 2>/dev/null
+adduser -H -h /var/lib/ejabberd -D ejabberd 2>/dev/null
+exit 0