#!/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="/etc/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
