o add DEINSTALL script that reminds the user to remove /var/spool/cucipop
o create /var/spool/cucipop when a package is installed THIS PORT IS NOW FROZEN
This commit is contained in:
parent
0016584ed6
commit
625ba8d00f
24
mail/cucipop/pkg/DEINSTALL
Normal file
24
mail/cucipop/pkg/DEINSTALL
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: DEINSTALL,v 1.1 1999/04/08 23:13:53 marc Exp $
|
||||
#
|
||||
# xtnpd de-installation
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
SPOOL_DIR=/var/spool/cucipop
|
||||
|
||||
if [ -d ${SPOOL_DIR} ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -rf ${SPOOL_DIR}"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
@ -2,3 +2,5 @@ libexec/cucipop
|
||||
libexec/makevpopdb
|
||||
man/man8/cucipop.8
|
||||
man/man8/makevpopdb.8
|
||||
@exec mkdir -p /var/spool/cucipop
|
||||
@exec mkdir -p /var/spool/cucipop/bulletins
|
||||
|
Loading…
Reference in New Issue
Block a user