diff options
author | Antoine Ginies <aginies@mandriva.com> | 2006-06-21 09:17:32 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2006-06-21 09:17:32 +0000 |
commit | 037ad6f483e9eaae5c9bbf89c373c21991ed8258 (patch) | |
tree | bffb66baf862dc6106817f293626d30abd3d14f8 /samba_wizard | |
parent | 4a6671b8ab500aa7742cb468ea2ab29d6451e3fa (diff) | |
download | drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar.gz drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar.bz2 drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar.xz drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.zip |
fix defaultimage
Diffstat (limited to 'samba_wizard')
-rwxr-xr-x | samba_wizard/Samba.pm | 4 | ||||
-rwxr-xr-x | samba_wizard/Sambaprint.pm | 4 | ||||
-rwxr-xr-x | samba_wizard/Sambashare.pm | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm index 1a2da921..d057f9b1 100755 --- a/samba_wizard/Samba.pm +++ b/samba_wizard/Samba.pm @@ -69,9 +69,9 @@ my $o = { test_host_domain($SHORTHOSTNAME, $DOMAINNAME); }, needed_rpm => [ 'samba-server' ], - defaultimage => "/usr/share/wizards/samba_wizard/images/sambasrv.png" + defaultimage => "/usr/share/wizards/samba_wizard/images/sambasrv.png", }; -$::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/sambasrv.png"; + # we ask glueconf to give us the structure representing /etc/samba/smb.conf if (!-f "/etc/samba/smb.conf") { mkdir_p("/etc/samba/"); cp_af("/usr/share/wizards/samba_wizard/scripts/smb.conf.default", "/etc/samba/smb.conf") } my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf' }); diff --git a/samba_wizard/Sambaprint.pm b/samba_wizard/Sambaprint.pm index b0821be0..d6816a13 100755 --- a/samba_wizard/Sambaprint.pm +++ b/samba_wizard/Sambaprint.pm @@ -44,9 +44,9 @@ my $o = { wiz_printers_browseable => '', wiz_printers_guestok => '', wiz_printers_createmode => '', list_printers => '', }, - defaultimage => "/usr/share/wizards/samba_wizard/images/IC-sambaprt-48.png" + defaultimage => "/usr/share/wizards/samba_wizard/images/IC-sambaprt-48.png", }; -$::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/IC-sambaprt-48.png"; + # we ask glueconf to give us the structure representing /etc/samba/smb.conf my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf'}); diff --git a/samba_wizard/Sambashare.pm b/samba_wizard/Sambashare.pm index b90658d5..9545feb2 100755 --- a/samba_wizard/Sambashare.pm +++ b/samba_wizard/Sambashare.pm @@ -53,9 +53,9 @@ my $o = { wiz_understanding => '', }, needed_rpm => [ 'samba-server' ], - defaultimage => "/usr/share/wizards/samba_wizard/images/IC-sambashare-48.png" + defaultimage => "/usr/share/wizards/samba_wizard/images/IC-sambashare-48.png", }; -$::Wizard_pix_up = "/usr/share/wizards/samba_wizard/images/IC-sambashare-48.png"; + # we ask glueconf to give us the structure representing /etc/samba/smb.conf my $samba = new Libconf::Glueconf::Samba::Smb_conf({ filename => '/etc/samba/smb.conf'}); |