summaryrefslogtreecommitdiff
path: root/www/squid31/pkg-install
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-07-10 21:50:18 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-07-10 21:50:18 +0000
commit8b81bdf08317426b26dbc367ef9f656a79c95abf (patch)
tree968adbe71a676f5304be42b3bacd76bfe494d19c /www/squid31/pkg-install
parentAdded xcalendar. (diff)
Upgrade from 1.0 beta11 to 1.0 release.
Submitted by: Andrew Stesin <stesin@elvisti.kiev.ua>
Notes
Notes: svn path=/head/; revision=3363
Diffstat (limited to 'www/squid31/pkg-install')
-rw-r--r--www/squid31/pkg-install9
1 files changed, 7 insertions, 2 deletions
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
;;
*)