openbsd-ports/mail/milter-spamd/pkg/DEINSTALL
2004-06-06 18:23:15 +00:00

25 lines
520 B
Bash

#!/bin/sh
# $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
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