mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
8b4db7eb1e
PR: 119448 Submitted by: Michael Scheidell <scheidell@secnap.net> (maintainer) Approved by: garga (mentor)
18 lines
322 B
Bash
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
|