diff options
author | tron <tron> | 2001-11-23 10:22:53 +0000 |
---|---|---|
committer | tron <tron> | 2001-11-23 10:22:53 +0000 |
commit | 2dac92e1e9db38afccc7a1fa91e49a9a4659f67a (patch) | |
tree | 7749d0b4feb8b275810786b45587262a86870e8b /www/squid/INSTALL | |
parent | e777fa483f600271fae09bf5756f3d4cb3027737 (diff) | |
download | pkgsrc-2dac92e1e9db38afccc7a1fa91e49a9a4659f67a.tar.gz |
Fix problems caused by recent changes: the example configuration files get
installed into "etc/squid" (and are not moved arround after installation).
The message of the install script matches the actual layout again and is
adapted to changes to "SQUID_SYSCONFDIR".
Diffstat (limited to 'www/squid/INSTALL')
-rw-r--r-- | www/squid/INSTALL | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/www/squid/INSTALL b/www/squid/INSTALL index df1b1b12d4c..8c3532add6e 100644 --- a/www/squid/INSTALL +++ b/www/squid/INSTALL @@ -1,10 +1,11 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.2 2001/11/08 06:58:10 tron Exp $ +# $NetBSD: INSTALL,v 1.3 2001/11/23 10:22:53 tron Exp $ # PKGNAME=$1 -CONFDIR=${PKG_PREFIX}/etc/squid/ +EXCONFDIR=${PKG_PREFIX}/etc/squid/ +SYSCONFDIR=@SYSCONFDIR@/ SQUIDCONF=squid.conf MIMECONF=mime.conf @@ -19,8 +20,14 @@ case $2 in echo " configuring your WWW Navigator (Netscape, Mosaic,...)" echo " to use it as a proxy server." echo "" - echo " o Copy \"${CONFDIR}${SQUIDCONF}.default\" to \"${SQUIDCONF}\"" - echo " and \"${CONFDIR}${MIMECONF}.default\" to \"${MIMECONF}\"" + if [ "${EXCONFDIR}" = "${SYSCONFDIR}" ] + then + echo " o Copy \"${EXCONFDIR}${SQUIDCONF}.default\" to \"${SQUIDCONF}\"" + echo " and \"${EXCONFDIR}${MIMECONF}.default\" to \"${MIMECONF}\"" + else + echo " o Copy \"${EXCONFDIR}${SQUIDCONF}.default\" to \"${SYSCONFDIR}${SQUIDCONF}\"" + echo " and \"${EXCONFDIR}${MIMECONF}.default\" to \"${SYSCONFDIR}${MIMECONF}\"" + fi echo " and edit them as required. You should pay attention to the" echo " ACTUAL locations of the cache \"spool\" logfiles and pidfile." echo "" |