diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1996-07-10 21:50:18 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1996-07-10 21:50:18 +0000 |
commit | 8b81bdf08317426b26dbc367ef9f656a79c95abf (patch) | |
tree | 968adbe71a676f5304be42b3bacd76bfe494d19c /www/squid27/pkg-install | |
parent | Added 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/squid27/pkg-install')
-rw-r--r-- | www/squid27/pkg-install | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/squid27/pkg-install b/www/squid27/pkg-install index e476199106d7..8f5ca748d66f 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 ;; *) |