freebsd-ports/japanese/p5-Mail-SpamAssassin/pkg-deinstall
Rong-En Fan d8dd01a374 - Update to 3.2.4
- Sync pkg-install and pkg-deinstall with mail/p5-Mail-Spamassassin

PR:		ports/120201
Submitted by:	TAOKA Fumiyoshi <fmysh at iijmio-mail.jp> (maintainer)
2008-02-07 04:42:43 +00:00

17 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