freebsd-ports/net-im/jabberd/pkg-deinstall
Dmitry Sivachenko 75fdd3fbc0 Put datafiles in /var/jabber directory.
Remind to remove this directory manually on deinstall.
2004-01-01 13:21:15 +00:00

21 lines
423 B
Bash

#!/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