diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-22 16:18:07 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-22 16:18:07 +0000 |
commit | 06f1b01191416ac81e3976938349e7208bf5a557 (patch) | |
tree | 56170974ad18df10821bff87b5894ded6f84c393 /proxy_wizard/scripts | |
parent | 4ded1b990f4c8ec20b47c9020413688cc9c3e9ef (diff) | |
download | drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.gz drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.bz2 drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.xz drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.zip |
Add support for server-settings: for GNOME 2
Diffstat (limited to 'proxy_wizard/scripts')
-rw-r--r-- | proxy_wizard/scripts/Squidconf.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/proxy_wizard/scripts/Squidconf.pm b/proxy_wizard/scripts/Squidconf.pm index fa99558d..e7788fec 100644 --- a/proxy_wizard/scripts/Squidconf.pm +++ b/proxy_wizard/scripts/Squidconf.pm @@ -1,15 +1,15 @@ #!/usr/bin/perl package Squidconf; -require "__WIZ_HOME__/common/scripts/Vareqval.pm"; -require "__WIZ_HOME__/common/scripts/Varspaceval.pm"; +require "/usr/share/wizards/common/scripts/Vareqval.pm"; +require "/usr/share/wizards/common/scripts/Varspaceval.pm"; use MDK::Common; use strict; sub do_it_squid { 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("/usr/share/wizards/proxy_wizard/scripts/squid.conf.default", $file); print "$ENV{wiz_squid_defdir}\n"; substInFile { s|^\s*\#?\s*(cache_dir.*$ENV{wiz_squid_defdir}\s*)\d*(.*)|$1$ENV{wiz_squid_disk}$2|; |