2004-05-24 03:35:47 -04:00
|
|
|
#!/bin/sh
|
2004-06-06 14:23:15 -04:00
|
|
|
# $OpenBSD: DEINSTALL,v 1.2 2004/06/06 18:23:15 sturm Exp $
|
2004-05-24 03:35:47 -04:00
|
|
|
#
|
|
|
|
# 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
|
2004-05-24 03:35:47 -04:00
|
|
|
|
|
|
|
exit 0
|