1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/mail/p5-Mail-SpamAssassin/pkg-deinstall
Wesley Shields 8b4db7eb1e Update to 3.2.4.
PR:		119448
Submitted by:	Michael Scheidell <scheidell@secnap.net> (maintainer)
Approved by:	garga (mentor)
2008-01-15 23:08:41 +00:00

18 lines
322 B
Bash

#!/bin/sh
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
if [ -d /var/db/spamassassin ]; then
echo "To delete /var/db/spamassassin, use 'rm -rf /var/db/spamassassin'"
fi
USER=spamd
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete ${USER} user permanently, use 'rmuser ${USER}'"
fi
exit 0