@extra, maintainer timeout

This commit is contained in:
sturm 2004-06-06 18:23:15 +00:00
parent 4a2d70a8b7
commit 4194ecebcc
2 changed files with 17 additions and 12 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1 2004/05/24 07:35:47 dhartmei Exp $
# $OpenBSD: DEINSTALL,v 1.2 2004/06/06 18:23:15 sturm Exp $
#
# milter-spamd de-installation
@ -8,15 +8,17 @@ DIR=/var/spool/milter-spamd
USER=_milter-spamd
GROUP=_milter-spamd
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
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

View File

@ -1,3 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1 2004/05/24 07:35:47 dhartmei Exp $
@comment $OpenBSD: PLIST,v 1.2 2004/06/06 18:23:15 sturm Exp $
libexec/milter-spamd
man/man8/milter-spamd.8
@extraunexec rm -fr /var/spool/milter-spamd
@extraunexec userdel _milter-spamd
@extraunexec groupdel _milter-spamd