From 9afe3c7b75b1d86280714d945cfb3e0d8e381a1c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 9 Jan 2006 22:17:12 +0000 Subject: Make sure mime.conf is in place --- packages/squid_ng.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/squid_ng.xml') diff --git a/packages/squid_ng.xml b/packages/squid_ng.xml index 452bbbab..056ee1b9 100644 --- a/packages/squid_ng.xml +++ b/packages/squid_ng.xml @@ -321,7 +321,8 @@ mwexec("chown squid:squid /usr/local/etc/squid/advanced/acls/src_subnets.acl"); mwexec("touch /usr/local/etc/squid/advanced/acls/src_unrestricted_ip.acl"); mwexec("chown squid:squid /usr/local/etc/squid/advanced/acls/src_unrestricted_ip.acl"); - + mwexec("cp /usr/local/etc/squid/mime.conf.default /usr/local/etc/squid/mime.conf"); + update_output_window("Creating Proxy Server initialization scripts..."); $fout = fopen("/usr/local/etc/rc.d/squid.sh","w"); fwrite($fout, "#!/bin/sh\n"); -- cgit v1.2.3