#!/bin/sh # $OpenBSD: DEINSTALL,v 1.8 2003/07/08 20:43:21 brad Exp $ # # Squid de-installation PATH=/bin:/usr/bin:/sbin:/usr/sbin PREFIX=${PKG_PREFIX:-/usr/local} CONFIG_DIR=${SYSCONFDIR}/squid SQUIDDIR=${SQUIDDIR} SQUIDUSER=_squid SQUIDGROUP=_squid echo echo "+---------------" echo "| To completely deinstall the $1 package you need to perform" echo "| these steps as root:" echo "|" echo "| userdel $SQUIDUSER" echo "| groupdel $SQUIDGROUP" echo "| rm -rf $CONFIG_DIR" echo "| rm -rf $PREFIX/share/squid" echo "| rm -rf $SQUIDDIR" 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 exit 0