aboutsummaryrefslogtreecommitdiff
path: root/audio/umurmur/pkg-deinstall
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-06-26 07:17:01 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-06-26 07:17:01 +0000
commit05e8725e135452dcea2a364ec53338ca10a35089 (patch)
tree1afbc86bdfd7e92adaf2bc7139ba0134cb547f21 /audio/umurmur/pkg-deinstall
parentf08fea78f09dfd1643bd3fb3a1084c584e574a37 (diff)
downloadports-05e8725e135452dcea2a364ec53338ca10a35089.tar.gz
ports-05e8725e135452dcea2a364ec53338ca10a35089.zip
uMurmur is a minimalistic Mumble server primarily targeted to run on
routers with an open OS like OpenWRT. The server part of Mumble is called Murmur, hence the name uMurmur. WWW: http://http://code.google.com/p/umurmur/ PR: ports/154995 Submitted by: Ayumi Mitsui <ayu at commun.jp>
Notes
Notes: svn path=/head/; revision=276425
Diffstat (limited to 'audio/umurmur/pkg-deinstall')
-rw-r--r--audio/umurmur/pkg-deinstall21
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/umurmur/pkg-deinstall b/audio/umurmur/pkg-deinstall
new file mode 100644
index 000000000000..74eaab2745de
--- /dev/null
+++ b/audio/umurmur/pkg-deinstall
@@ -0,0 +1,21 @@
+#!/bin/sh
+# $FreeBSD$
+
+PATH=/bin:/usr/sbin
+USER=umurmur
+GROUP=umurmur
+RUNDIR=/var/run/umurmur
+
+case $2 in
+ POST-DEINSTALL)
+ if pw group show ${GROUP} 2>&1 > /dev/null; then
+ echo "You should manually remove the \"${GROUP}\" group."
+ fi
+
+ if pw user show ${USER} 2>&1 > /dev/null; then
+ echo "You should manually remove the \"${USER}\" user."
+ fi
+
+ rm -Rf ${RUNDIR}
+ ;;
+esac