From af0ca288ac7738c1512aa0840a2a1e0a4e92c817 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Tue, 10 Feb 2004 16:20:59 +0000 Subject: - use ENV{__WIZ_HOME__} variable to be able to test directly from the CVS tree --- dns_wizard/Bind.pm | 2 +- 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} = { -- cgit v1.2.1