From 04a7392308c7a54d1e8f57e55e363d81f804c78a Mon Sep 17 00:00:00 2001 From: bkw Date: Tue, 15 Mar 2005 23:51:25 +0000 Subject: two earlier missed mkdirs added. chown has abs path --- packages/squid.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'packages') diff --git a/packages/squid.xml b/packages/squid.xml index cf88f41f..f4a49be4 100644 --- a/packages/squid.xml +++ b/packages/squid.xml @@ -46,12 +46,16 @@ fclose($fout); system("chmod a+x /usr/local/etc/rc.d/squid.sh"); system("/usr/bin/touch /usr/local/etc/squid/mime.conf"); - system("/bin/mkdir /usr/local/squid"); + system("/bin/mkdir /usr/local/squid"); system("/bin/mkdir /usr/local/squid/cache"); - system("/bin/mkdir /usr/local/libexec/squid"); - system("chown -R squid:squid /usr/local/squid"); - system("chown -R squid:squid /usr/local/etc/squid"); - system("chown -R squid:squid /usr/local/libexec/squid"); + system("/bin/mkdir /usr/local/etc/squid/errors"); + system("/usr/bin/touch /usr/local/etc/squid/errors/English"); + system("/usr/bin/touch /usr/local/etc/squid/icons"); + system("/bin/mkdir /usr/local/libexec/squid"); + system("/usr/bin/touch /usr/local/libexec/squid/unlinkd"); + system("/usr/sbin/chown -R squid:squid /usr/local/squid"); + system("/usr/sbin/chown -R squid:squid /usr/local/etc/squid"); + system("/usr/sbin/chown -R squid:squid /usr/local/libexec/squid"); system("/usr/local/sbin/squid -z"); system("/usr/local/sbin/squid"); filter_configure(); -- cgit v1.2.3