1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net-im/ejabberd/pkg-deinstall
Maxim Sobolev cfef370297 Add ejabberd 0.7, free and Open Source distributed fault-tolerant Jabber
server.

PR:		ports/69339
Submitted by:	Alexander Timoshenko <gonzo@univ.kiev.ua>
2004-08-19 10:11:13 +00:00

23 lines
491 B
Bash

#!/bin/sh
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=ejabberd
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete ejabberd user permanently, use 'pw userdel ${USER}'"
fi
if pw groupshow "${USER}" 2>/dev/null 1>&2; then
echo "To delete ejabberd group permanently, use 'pw groupdel ${USER}'"
fi
rm -Rf /var/run/ejabberd
echo "If you wish to delete ejabberd data and log files, remove"
echo "'/var/spool/ejabberd' and '/var/log/ejabberd' directories."
exit 0