summaryrefslogtreecommitdiffstats
path: root/proxy_wizard
diff options
context:
space:
mode:
authorDerek Jennings <derekjenn@gmail.com>2013-08-27 01:21:49 +0100
committerDerek Jennings <derekjenn@gmail.com>2013-08-27 01:21:49 +0100
commit1c3361df3eb7c201550b4a86c33e371ed7e9e1b9 (patch)
tree19c693cc10618911fac9683e7f6f1b494fc04a59 /proxy_wizard
parentd5f6522c135df7b9e3fa68d9d3be1ddd88d2d785 (diff)
downloaddrakwizard-1c3361df3eb7c201550b4a86c33e371ed7e9e1b9.tar
drakwizard-1c3361df3eb7c201550b4a86c33e371ed7e9e1b9.tar.gz
drakwizard-1c3361df3eb7c201550b4a86c33e371ed7e9e1b9.tar.bz2
drakwizard-1c3361df3eb7c201550b4a86c33e371ed7e9e1b9.tar.xz
drakwizard-1c3361df3eb7c201550b4a86c33e371ed7e9e1b9.zip
fix directory definition in proxy wizard
Diffstat (limited to 'proxy_wizard')
-rwxr-xr-xproxy_wizard/Squid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index 375f795e..74c7f346 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -232,7 +232,7 @@ sub do_it {
my $w = $in->wait_message(N("Squid proxy"), N("Configuring your system as a Proxy server..."));
my $file="/etc/squid/squid.conf";
-f $file and MDK::Common::cp_af($file, $file . ".orig");
- MDK::Common::cp_af("__WIZ_HOME__/proxy_wizard/scripts/squid.conf.default", $file);
+ MDK::Common::cp_af("$::Wiz_dir/proxy_wizard/scripts/squid.conf.default", $file);
substInFile {
s|^\s*#?\s*cache_dir ufs /var/spool/squid 100 16 256.*|cache_dir ufs $o->{var}{wiz_squid_defdir} $o->{var}{wiz_squid_disk} 16 256|;
s|^\s*#?\s*acl\s*localnet\s*src.*|acl localnet src $o->{var}{wiz_squid_mynetw}|;