aboutsummaryrefslogtreecommitdiff
path: root/www/squid27/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid27/pkg-deinstall')
-rw-r--r--www/squid27/pkg-deinstall40
1 files changed, 0 insertions, 40 deletions
diff --git a/www/squid27/pkg-deinstall b/www/squid27/pkg-deinstall
deleted file mode 100644
index 2814161bd6e0..000000000000
--- a/www/squid27/pkg-deinstall
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-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' user and the 'squid' group which were"
- echo " created by a default installation of this package, run"
- echo ""
- echo " pw userdel -r -n squid -u 100"
- echo ""
- if [ -d ${PKG_PREFIX}/squid -o -d ${PKG_PREFIX}/etc/squid ] ; then
- echo ""
- echo " To ease updates, the cache and log directories and"
- echo " 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