summaryrefslogtreecommitdiffstats
path: root/www/squid27/pkg-install
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-07-10 21:50:18 +0000
committerasami <asami@FreeBSD.org>1996-07-10 21:50:18 +0000
commit6df0fa60c997364b1282aad9c26129b83953e5ce (patch)
tree419cc808c5786a1034802d068869bdf0acdc7874 /www/squid27/pkg-install
parent79ac79cfbc5550c4d5c295ba4ee4ea2a63b23561 (diff)
downloadFreeBSD-ports-6df0fa60c997364b1282aad9c26129b83953e5ce.zip
FreeBSD-ports-6df0fa60c997364b1282aad9c26129b83953e5ce.tar.gz
Upgrade from 1.0 beta11 to 1.0 release.
Submitted by: Andrew Stesin <stesin@elvisti.kiev.ua>
Diffstat (limited to 'www/squid27/pkg-install')
-rw-r--r--www/squid27/pkg-install9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/squid27/pkg-install b/www/squid27/pkg-install
index e476199..8f5ca74 100644
--- a/www/squid27/pkg-install
+++ b/www/squid27/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
;;
*)
OpenPOWER on IntegriCloud