diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-02-10 16:20:59 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-02-10 16:20:59 +0000 |
commit | af0ca288ac7738c1512aa0840a2a1e0a4e92c817 (patch) | |
tree | b1bf6965a96eb1595fcc2ebd9ae172cd78e68727 | |
parent | 562a142aca920a4c210fbffe4f8e789da30d003e (diff) | |
download | drakwizard-af0ca288ac7738c1512aa0840a2a1e0a4e92c817.tar drakwizard-af0ca288ac7738c1512aa0840a2a1e0a4e92c817.tar.gz drakwizard-af0ca288ac7738c1512aa0840a2a1e0a4e92c817.tar.bz2 drakwizard-af0ca288ac7738c1512aa0840a2a1e0a4e92c817.tar.xz drakwizard-af0ca288ac7738c1512aa0840a2a1e0a4e92c817.zip |
- use ENV{__WIZ_HOME__} variable to be able to test directly from the
CVS tree
-rw-r--r-- | dns_wizard/Bind.pm | 2 | ||||
-rw-r--r-- | installsrv_wizard/Installsrv.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm index e5b20ed3..c8c3f716 100644 --- a/dns_wizard/Bind.pm +++ b/dns_wizard/Bind.pm @@ -68,7 +68,7 @@ my $o = { CLIENTIP => '', }, needed_rpm => [ 'bind' ], - defaultimage => "/usr/share/wizards/dns_wizard/images/DNS.png", + defaultimage => "$ENV{__WIZ_HOME__}/dns_wizard/images/DNS.png", init => sub { if ($SHORTHOSTNAME =~ /localhost/) { return 0, N("You need to readjust your hostname.") diff --git a/installsrv_wizard/Installsrv.pm b/installsrv_wizard/Installsrv.pm index b75f85e8..fc213b47 100644 --- a/installsrv_wizard/Installsrv.pm +++ b/installsrv_wizard/Installsrv.pm @@ -43,7 +43,7 @@ my $o = { SOURCEDIR => '/mnt/nfs/cooker', }, needed_rpm => [ 'nfs-utils', 'apache' ], - defaultimage => "/usr/share/wizards/installsrv_wizard/images/Install.png" + defaultimage => "$ENV{__WIZ_HOME__}/installsrv_wizard/images/Install.png" }; $o->{pages} = { |