openbsd-ports/www/squid/pkg/DEINSTALL

28 lines
650 B
Plaintext
Raw Normal View History

2000-07-19 02:47:03 -04:00
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.4 2000/07/29 00:04:58 brad Exp $
1999-05-09 16:01:50 -04:00
#
# squid de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR}
STATEDIR=${STATEDIR}
1999-05-09 16:01:50 -04:00
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| these steps as root:"
echo "|"
echo "| rm -rf $CONFIG_DIR"
echo "| rm -rf $PREFIX/share/squid"
echo "| rm -rf $STATEDIR"
echo "| rm -f /var/run/squid.pid"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
1999-05-09 16:01:50 -04:00
exit 0