openbsd-ports/comms/conserver/pkg/DEINSTALL

28 lines
686 B
Plaintext
Raw Normal View History

#!/bin/sh
2003-05-27 14:59:17 -04:00
# $OpenBSD: DEINSTALL,v 1.2 2003/05/27 18:59:17 pvalchev Exp $
#
# conserver de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_FILE=${SYSCONFDIR}/conserver.cf
2003-05-27 14:59:17 -04:00
PASSWD_FILE=${SYSCONFDIR}/conserver.passwd
if [ -f $CONFIG_FILE ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
2003-05-27 14:59:17 -04:00
echo "| these steps as root:"
echo "|"
echo "| rm -f $CONFIG_FILE"
2003-05-27 14:59:17 -04:00
echo "| rm -f $PASSWD_FILE"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0