summaryrefslogtreecommitdiffstats
path: root/net-im/jabberd/pkg-deinstall
blob: 8a4fe0fcabf90fcc11bc93f6f6e4f2c7e80935e1 (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$
#

if [ "$2" != "POST-DEINSTALL" ]; then
    exit 0
fi

USER=jabber

if pw usershow "${USER}" 2>/dev/null 1>&2; then
	echo "To delete Jabber user permanently, use 'pw userdel ${USER}'"
fi

if pw groupshow "${USER}" 2>/dev/null 1>&2; then
	echo "To delete Jabber group permanently, use 'pw groupdel ${USER}'"
fi

echo "If you wish to delete jabber data files, remove '/var/jabberd' directory."

exit 0
OpenPOWER on IntegriCloud