summaryrefslogtreecommitdiff
path: root/community/murmur
diff options
context:
space:
mode:
Diffstat (limited to 'community/murmur')
-rw-r--r--community/murmur/PKGBUILD4
-rw-r--r--community/murmur/murmur.install13
2 files changed, 8 insertions, 9 deletions
diff --git a/community/murmur/PKGBUILD b/community/murmur/PKGBUILD
index 6b5d3069d..f8cb26dd4 100644
--- a/community/murmur/PKGBUILD
+++ b/community/murmur/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 44592 2011-04-09 11:22:35Z svenstaro $
+# $Id: PKGBUILD 61765 2012-01-07 13:49:52Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Otto Allmendinger <otto.allmendinger@googlemail.com>
# Contributor: Malte Rabenseifner <malte@zearan.de>
pkgname=murmur
pkgver=1.2.3
-pkgrel=3
+pkgrel=4
pkgdesc="The voice chat application server for Mumble"
arch=('i686' 'x86_64')
url="http://mumble.sourceforge.net"
diff --git a/community/murmur/murmur.install b/community/murmur/murmur.install
index 1f49aa53b..478f40a0e 100644
--- a/community/murmur/murmur.install
+++ b/community/murmur/murmur.install
@@ -1,15 +1,13 @@
post_install() {
-
# bug: dbus reload here doesn't work
# workaround: it seems to work if you do it a few seconds later, manually
/etc/rc.d/dbus reload > /dev/null
- /usr/bin/getent group murmur > /dev/null || /usr/sbin/groupadd murmur
- /usr/bin/getent passwd murmur > /dev/null || \
- /usr/sbin/useradd -d /var/lib/murmur -g murmur -s /bin/false murmur
+ getent group murmur > /dev/null || groupadd -r -g 86 murmur 1>/dev/null
+ getent passwd murmur > /dev/null || useradd -r -u 86 -d /var/lib/murmur -g murmur -s /bin/false murmur 1>/dev/null
- chown -R murmur:murmur /var/lib/murmur
- chown -R murmur:murmur /var/log/murmur
+ chown -R 86:86 /var/lib/murmur
+ chown -R 86:86 /var/log/murmur
echo
echo '==> Set the SuperUser password with (as root):'
@@ -28,5 +26,6 @@ pre_remove() {
post_remove() {
/etc/rc.d/dbus reload > /dev/null
- /usr/sbin/userdel murmur > /dev/null
+ getent passwd murmur > /dev/null && userdel murmur 1>/dev/null
+ getent group murmur > /dev/null && groupdel murmur 1>/dev/null
}