575015faec
ok dhartmei@ jolan@ brad@ for their respective port;
25 lines
529 B
Bash
25 lines
529 B
Bash
#!/bin/sh
|
|
# $OpenBSD: DEINSTALL,v 1.2 2004/04/15 07:34:11 xsa Exp $
|
|
#
|
|
# milter-regex de-installation
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
DIR=/var/spool/milter-regex
|
|
USER=_milter-regex
|
|
GROUP=_milter-regex
|
|
|
|
if [ ${PKG_DELETE_EXTRA} != Yes -a -d $DIR ]; 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
|