Commit 0aec3382 authored by Francesco Colista's avatar Francesco Colista

testing/ejabberd: fixed creation of users and group in pre-install

parent d23eac88
......@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ejabberd
pkgver=2.1.12
pkgrel=0
pkgrel=1
pkgdesc="An erlang jabber server"
url="http://www.ejabberd.im"
arch="all"
......@@ -12,7 +12,7 @@ depends_dev="erlang-dev expat-dev libiconv-dev openssl-dev zlib-dev heimdal-dev"
makedepends="$depends_dev"
pkgusers="ejabberd"
pkggroups="ejabberd"
install=""
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.process-one.net/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tgz
gssapi-2.1.0.diff"
......
#!/bin/sh
addgroup ejabberd 2>/dev/null
adduser -H -h /var/lib/ejabberd -D ejabberd 2>/dev/null
exit 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment