From 8b81bdf08317426b26dbc367ef9f656a79c95abf Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 10 Jul 1996 21:50:18 +0000 Subject: Upgrade from 1.0 beta11 to 1.0 release. Submitted by: Andrew Stesin --- www/squid31/pkg-install | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'www/squid31/pkg-install') diff --git a/www/squid31/pkg-install b/www/squid31/pkg-install index e476199106d7..8f5ca748d66f 100644 --- a/www/squid31/pkg-install +++ b/www/squid31/pkg-install @@ -20,11 +20,16 @@ case $2 in echo "" echo "==> Press Enter to edit the ${PKGNAME} config file." echo " (The defaults are reasonable; and the file is well commented)" - echo " You'd probably like to pay attention to the" - echo " ACTUAL locations of BOTH cache \"spool\" AND logfiles." + tput md + echo " You'd certainly like to pay attention to the" + echo " ACTUAL locations of cache \"spool\", logfiles, pidfile!" + tput me read skip chown root:wheel ${PREFIX:-/usr/local}/etc/squid.conf* chmod 644 ${PREFIX:-/usr/local}/etc/squid.conf* + [ -f ${PREFIX:-/usr/local}/etc/squid.conf ] || \ + cp -fp ${PREFIX:-/usr/local}/etc/squid.conf.default \ + ${PREFIX:-/usr/local}/etc/squid.conf ${EDITOR:-vi} ${PREFIX:-/usr/local}/etc/squid.conf ;; *) -- cgit v1.2.3