openbsd-ports/mail/solid-pop3d/pkg/DEINSTALL

21 lines
527 B
Plaintext
Raw Normal View History

2000-05-25 21:51:34 -04:00
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2001/02/13 01:31:23 danh Exp $
#
# solid-pop3d de-installation
2000-05-25 21:51:34 -04:00
set -e
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
PREFIX="${PKG_PREFIX:-/usr/local}"
CONFIG_FILE="${SYSCONFDIR}/spop3d.conf"
SPOOL_DIR="/var/spool/spop3d"
2000-05-25 21:51:34 -04:00
if [ -f ${CONFIG_FILE} -o -d ${SPOOL_DIR} ]; then
echo "+------------"
echo "| If you are deinstalling $1 and not planning to"
echo "| re-install it at a future time, it is safe to remove"
echo "| remove ${CONFIG_FILE} and ${SPOOL_DIR}."
echo "+------------"
fi
exit 0