summaryrefslogtreecommitdiffstats
path: root/audio/murmur/pkg-deinstall
blob: 4ee32a8205ad533633d407253f6a301ab01b7200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# $FreeBSD$

PATH=/bin:/usr/sbin
USER=murmur
GROUP=murmur
RUNDIR=/var/run/murmur

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
OpenPOWER on IntegriCloud