aboutsummaryrefslogtreecommitdiff
path: root/www/cacheboy16/files/pkg-deinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/cacheboy16/files/pkg-deinstall.in')
-rw-r--r--www/cacheboy16/files/pkg-deinstall.in39
1 files changed, 0 insertions, 39 deletions
diff --git a/www/cacheboy16/files/pkg-deinstall.in b/www/cacheboy16/files/pkg-deinstall.in
deleted file mode 100644
index a1f34434d70f..000000000000
--- a/www/cacheboy16/files/pkg-deinstall.in
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/www/cacheboy16/files/pkg-deinstall.in,v 1.1 2008-04-18 06:29:39 adrian Exp $
-#
-
-PATH=/bin:/usr/bin:/usr/sbin
-
-case $2 in
-DEINSTALL)
- cd ${PKG_PREFIX}/etc/squid || exit 1
- for f in cachemgr.conf mime.conf msntauth.conf squid.conf; do
- cmp -s -z ${f} ${f}.default && rm ${f}
- done
- ;;
-POST-DEINSTALL)
- echo "===> post-deinstallation information for $1:"
- echo ""
- echo " Note:"
- echo " Squid related user accounts and groups were not removed."
- echo ""
- echo " To remove the '%%SQUID_UID%%' user and the '%%SQUID_GID%%' group which were"
- echo " created by a default installation of this package, run"
- echo ""
- echo " pw userdel -n %%SQUID_UID%% -u 100"
- if [ -d ${PKG_PREFIX}/squid -o -d ${PKG_PREFIX}/etc/squid ] ; then
- echo ""
- echo " In order to ease updates the cache and log directories"
- echo " and all configuration files modified by you were preserved."
- echo ""
- echo " Please remove them manually if you do not want to use"
- echo " Squid any longer."
- fi
- echo ""
- ;;
-*)
- exit 64
- ;;
-esac
-exit 0