openbsd-ports/mail/solid-pop3d/pkg/DEINSTALL
danh dad9790d2c - /etc -> SYSCONFDIR
- cleanup DESCR
- cleanup DEINSTALL/INSTALL scripts
2001-02-13 01:31:23 +00:00

21 lines
527 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2001/02/13 01:31:23 danh Exp $
#
# solid-pop3d de-installation
set -e
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
PREFIX="${PKG_PREFIX:-/usr/local}"
CONFIG_FILE="${SYSCONFDIR}/spop3d.conf"
SPOOL_DIR="/var/spool/spop3d"
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