summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:36:52 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:36:52 +0000
commit8cb296dff1704b8b7247ebe8635a54e8336edb58 (patch)
tree4bd459fded1b169683083342e433debb98e16e9c /samba_wizard
parent232ed05f74df058f955466b13b779e2624fd8f22 (diff)
downloaddrakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.gz
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.bz2
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.xz
drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.zip
Fix search and replace for __WIZ_HOME__ and fix wrongly committed files
Diffstat (limited to 'samba_wizard')
-rw-r--r--samba_wizard/samba.wiz16
-rwxr-xr-xsamba_wizard/scripts/Smbconf.pm6
2 files changed, 11 insertions, 11 deletions
diff --git a/samba_wizard/samba.wiz b/samba_wizard/samba.wiz
index 8eef7438..f490b5dc 100644
--- a/samba_wizard/samba.wiz
+++ b/samba_wizard/samba.wiz
@@ -3,11 +3,11 @@
<Wizard
name="general"
- libScript="/usr/share/wizards/common/scripts/functions.sh"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
wizardTitle="Samba wizard"
imagePosition="top"
- defaultImage="/usr/share/wizards/samba_wizard/images/samba"
- perlModule="/usr/share/wizards/samba_wizard/scripts/Smbconf.pm"
+ defaultImage="__WIZ_HOME__/samba_wizard/images/samba"
+ perlModule="__WIZ_HOME__/samba_wizard/scripts/Smbconf.pm"
rpm="samba-server"
>
@@ -42,7 +42,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="Welcome"
- jumpScript="/usr/share/wizards/common/scripts/check.sh root wiz_ip_net"
+ jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -87,7 +87,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="ask_services"
- jumpScript="/usr/share/wizards/samba_wizard/scripts/check_services.sh"
+ jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_services.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -163,7 +163,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="ask_workgroup"
- jumpScript="/usr/share/wizards/samba_wizard/scripts/check_workgroup.sh"
+ jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_workgroup.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -223,7 +223,7 @@
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="ask_banner"
- jumpScript="/usr/share/wizards/samba_wizard/scripts/check_banner.sh"
+ jumpScript="__WIZ_HOME__/samba_wizard/scripts/check_banner.sh"
executionLevel="NORMAL"
nextFinish="false"
canBack="true"
@@ -413,7 +413,7 @@ needed to configure Samba."
<Page
helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-samba.html"
name="error_need_net"
- subWizard="/usr/share/wizards/server_wizard/server.wiz"
+ subWizard="__WIZ_HOME__/server_wizard/server.wiz"
executionLevel="NORMAL"
nextFinish="false"
canBack="false"
diff --git a/samba_wizard/scripts/Smbconf.pm b/samba_wizard/scripts/Smbconf.pm
index 5385d429..577c1870 100755
--- a/samba_wizard/scripts/Smbconf.pm
+++ b/samba_wizard/scripts/Smbconf.pm
@@ -1,8 +1,8 @@
#! /usr/bin/perl -w
package Smbconf;
-require "/usr/share/wizards/common/scripts/Vareqval.pm";
-require "/usr/share/wizards/common/scripts/DrakconnectConf.pm";
+require "__WIZ_HOME__/common/scripts/Vareqval.pm";
+require "__WIZ_HOME__/common/scripts/DrakconnectConf.pm";
use strict;
@@ -98,7 +98,7 @@ sub printer_sharing {
sub do_it {
- read_conf("/usr/share/wizards/samba_wizard/scripts/smb.conf.default");
+ read_conf("__WIZ_HOME__/samba_wizard/scripts/smb.conf.default");
chg_var("global", "workgroup", $ENV{wiz_workgroup});
chg_var("global", "server string", $ENV{wiz_banner});
my $ip = $o->get_from_known_dev("IP");