aboutsummaryrefslogtreecommitdiffstats
path: root/www/squid31/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid31/pkg-plist')
-rw-r--r--www/squid31/pkg-plist6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/squid31/pkg-plist b/www/squid31/pkg-plist
index 38572224f94..449d9cca353 100644
--- a/www/squid31/pkg-plist
+++ b/www/squid31/pkg-plist
@@ -1,9 +1,11 @@
etc/rc.d/squid.sh
etc/squid/mib.txt
etc/squid/squid.conf.default
-etc/squid/squid.conf
+@exec [ ! if -f %B/squid.conf ] && cp %B%f %B/squid.conf
+@unexec if cmp -s %D/etc/squid/squid.conf %D/etc/squid/squid.conf.default; then rm -f %D/etc/squid/squid.conf.default; fi
etc/squid/mime.conf.default
-etc/squid/mime.conf
+@exec [ ! if -f %B/mime.conf ] && cp %B%f %B/mime.conf
+@unexec if cmp -s %D/etc/squid/mime.conf %D/etc/squid/mime.conf.default; then rm -f %D/etc/squid/mime.conf.default; fi
etc/squid/icons/anthony-binhex.gif
etc/squid/icons/anthony-bomb.gif
etc/squid/icons/anthony-box.gif