From 30ebff3f31f40524125c4b25d30b37cc5d8da8b6 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 27 Jul 2003 08:45:11 +0000 Subject: Massive upgrade to 2.5-stable3. Thanks! PR: ports/54153 Submitted by: Jon Noack --- www/squid/pkg-install | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'www/squid/pkg-install') diff --git a/www/squid/pkg-install b/www/squid/pkg-install index 82f6605be3a2..7efd84949fd2 100644 --- a/www/squid/pkg-install +++ b/www/squid/pkg-install @@ -25,16 +25,16 @@ case $2 in echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" tput me if [ -z "${PACKAGE_BUILDING}" ]; then read skip; fi - chown root:wheel ${PREFIX:-/usr/local}/etc/squid/squid.conf* - chmod 644 ${PREFIX:-/usr/local}/etc/squid/squid.conf* - [ -f ${PREFIX:-/usr/local}/etc/squid/squid.conf ] || \ - cp -fp ${PREFIX:-/usr/local}/etc/squid/squid.conf.default \ - ${PREFIX:-/usr/local}/etc/squid/squid.conf - [ -f ${PREFIX:-/usr/local}/etc/squid/mime.conf ] || \ - cp -fp ${PREFIX:-/usr/local}/etc/squid/mime.conf.default \ - ${PREFIX:-/usr/local}/etc/squid/mime.conf - ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid/squid.conf \ - ${PREFIX:-/usr/local}/etc/squid/mime.conf + chown root:wheel ${PREFIX}/etc/squid/squid.conf* + chmod 644 ${PREFIX}/etc/squid/squid.conf* + [ -f ${PREFIX}/etc/squid/squid.conf ] || \ + cp -fp ${PREFIX}/etc/squid/squid.conf.default \ + ${PREFIX}/etc/squid/squid.conf + [ -f ${PREFIX}/etc/squid/mime.conf ] || \ + cp -fp ${PREFIX}/etc/squid/mime.conf.default \ + ${PREFIX}/etc/squid/mime.conf + ${EDITOR:-vi} ${PREFIX}/etc/squid/squid.conf \ + ${PREFIX}/etc/squid/mime.conf ;; *) echo "Unexpected Argument $2!!!" @@ -42,4 +42,3 @@ case $2 in ;; esac exit 0 - -- cgit v1.2.3