diff options
Diffstat (limited to 'proxy_wizard')
-rw-r--r-- | proxy_wizard/proxy.wiz | 24 | ||||
-rw-r--r-- | proxy_wizard/scripts/Squidconf.pm | 6 |
2 files changed, 15 insertions, 15 deletions
diff --git a/proxy_wizard/proxy.wiz b/proxy_wizard/proxy.wiz index cd264303..4532209f 100644 --- a/proxy_wizard/proxy.wiz +++ b/proxy_wizard/proxy.wiz @@ -3,11 +3,11 @@ <Wizard name="general" - libScript="__WIZ_HOME__/common/scripts/functions.sh" + libScript="/usr/share/wizards/common/scripts/functions.sh" wizardTitle="Squid wizard" imagePosition="top" - defaultImage="__WIZ_HOME__/proxy_wizard/images/proxy" - perlModule="__WIZ_HOME__/proxy_wizard/scripts/Squidconf.pm" + defaultImage="/usr/share/wizards/proxy_wizard/images/proxy" + perlModule="/usr/share/wizards/proxy_wizard/scripts/Squidconf.pm" rpm="squid" > @@ -86,7 +86,7 @@ <Page name="Welcome" helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" - jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net" + jumpScript="/usr/share/wizards/common/scripts/check.sh root wiz_ip_net" executionLevel="NORMAL" nextFinish="false" canBack="true" @@ -206,7 +206,7 @@ <Page name="port" helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" - jumpScript="__WIZ_HOME__/proxy_wizard/scripts/testport.sh" + jumpScript="/usr/share/wizards/proxy_wizard/scripts/testport.sh" executionLevel="NORMAL" nextFinish="false" canBack="true" @@ -309,7 +309,7 @@ <Info comment="free space on disk" - fillScript="__WIZ_HOME__/proxy_wizard/scripts/dfh.sh" + fillScript="/usr/share/wizards/proxy_wizard/scripts/dfh.sh" > </Info> @@ -318,7 +318,7 @@ <Page name="ask_level" helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" - jumpScript="__WIZ_HOME__/proxy_wizard/scripts/echolevel.sh $wiz_squid_level" + jumpScript="/usr/share/wizards/proxy_wizard/scripts/echolevel.sh $wiz_squid_level" executionLevel="NORMAL" nextFinish="false" canBack="true" @@ -412,7 +412,7 @@ <Info - fillScript="__WIZ_HOME__/proxy_wizard/scripts/printservices.sh" + fillScript="/usr/share/wizards/proxy_wizard/scripts/printservices.sh" > </Info> @@ -463,7 +463,7 @@ <Page name="cachepeer" helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" - jumpScript="__WIZ_HOME__/proxy_wizard/scripts/echolevel.sh $wiz_squid_menupeer" + jumpScript="/usr/share/wizards/proxy_wizard/scripts/echolevel.sh $wiz_squid_menupeer" executionLevel="NORMAL" nextFinish="false" canBack="true" @@ -624,7 +624,7 @@ <Freetext name="s_level" - fillScript="__WIZ_HOME__/proxy_wizard/scripts/showlevel.sh $wiz_squid_level" + fillScript="/usr/share/wizards/proxy_wizard/scripts/showlevel.sh $wiz_squid_level" helpText="Access Control:" editable="false" > @@ -716,7 +716,7 @@ <Freetext name="s_level" variableName="wiz_squid_mynetw" - fillScript="__WIZ_HOME__/proxy_wizard/scripts/showlevel.sh $wiz_squid_level" + fillScript="/usr/share/wizards/proxy_wizard/scripts/showlevel.sh $wiz_squid_level" helpText="Access Control:" editable="false" > @@ -820,7 +820,7 @@ <Page name="error_need_net" helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-proxy.html" - subWizard="__WIZ_HOME__/server_wizard/server.wiz" + subWizard="/usr/share/wizards/server_wizard/server.wiz" executionLevel="NORMAL" nextFinish="false" canBack="false" 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|; |