openbsd-ports/mail/milter-spamd/pkg/DEINSTALL

25 lines
520 B
Plaintext
Raw Normal View History

#!/bin/sh
2004-06-06 14:23:15 -04:00
# $OpenBSD: DEINSTALL,v 1.2 2004/06/06 18:23:15 sturm Exp $
#
# milter-spamd de-installation
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DIR=/var/spool/milter-spamd
USER=_milter-spamd
GROUP=_milter-spamd
2004-06-06 14:23:15 -04:00
if [ ${PKG_DELETE_EXTRA} != Yes ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| these steps as root:"
echo "|"
echo "| userdel $USER"
echo "| groupdel $GROUP"
echo "| rm -rf $DIR"
echo "+---------------"
echo
fi
exit 0