aboutsummaryrefslogtreecommitdiffstats
path: root/www/squid/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid/pkg-install')
-rw-r--r--www/squid/pkg-install11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/squid/pkg-install b/www/squid/pkg-install
index cb18a5f492b..c6da8244917 100644
--- a/www/squid/pkg-install
+++ b/www/squid/pkg-install
@@ -121,13 +121,14 @@ PRE-INSTALL)
fi
;;
POST-INSTALL)
- for file in mime.conf squid.conf; do
+ for file in cachemgr.conf mime.conf squid.conf; do
if [ ! -f ${squid_confdir}/${file} \
-a -f ${squid_confdir}/${file}.default ]; then
- echo "Creating ${file} from default..."
- install -c -o root -g ${squid_group} -m 0640 \
- ${squid_confdir}/${file}.default ${squid_confdir}/${file}
- fi
+ echo "Creating ${file} from default..."
+ install -c -o root -g ${squid_group} -m 0640 \
+ ${squid_confdir}/${file}.default \
+ ${squid_confdir}/${file}
+ fi
done
echo "===> Post-installation informations for ${pkgname}"