diff options
author | adrian <adrian@FreeBSD.org> | 2003-07-27 16:45:11 +0800 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2003-07-27 16:45:11 +0800 |
commit | 901a7911daea75e4ec2f8f64a41282d16f093ced (patch) | |
tree | 3085df198324f11cdc705b019e0e139450c25825 /www/squid/pkg-install | |
parent | 65114652fadbbf9affa9b4bd265db33ced5f27c2 (diff) | |
download | freebsd-ports-graphics-901a7911daea75e4ec2f8f64a41282d16f093ced.tar.gz freebsd-ports-graphics-901a7911daea75e4ec2f8f64a41282d16f093ced.tar.zst freebsd-ports-graphics-901a7911daea75e4ec2f8f64a41282d16f093ced.zip |
Massive upgrade to 2.5-stable3. Thanks!
PR: ports/54153
Submitted by: Jon Noack <noackjr@alumni.rice.edu>
Diffstat (limited to 'www/squid/pkg-install')
-rw-r--r-- | www/squid/pkg-install | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/www/squid/pkg-install b/www/squid/pkg-install index 82f6605be3a..7efd84949fd 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 - |