summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index 192f1e41..2e3631cb 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -28,7 +28,6 @@ use common;
#- I18N.
push @::textdomains, 'drakwizard';
-$::DEBUG = 0;
$::isWizard = 1;
$::Wizard_no_previous = 1;
$::Wizard_title = "Drakwizard";
@@ -36,7 +35,6 @@ $::Wiz_dir = '__WIZ_HOME__';
my $in = interactive->vnew;
my $standalone = 1;
-
my %wiz = (
apache => ['Apache', "Apache web server"],
dhcp => ['Dhcp', "Dhcp server"],
@@ -113,7 +111,7 @@ sub check_rpm {
foreach my $rpm (@$rpms) {
if (!$in->do_pkgs->is_installed($rpm)) {
if ($in->ask_okcancel("error", N("%s is not installed\nClick \"Next\" to install or \"Cancel\" to quit", c::from_utf8($rpm)))) {
- $::DEBUG and next;
+ $::testing and next;
if (!$in->do_pkgs->install($rpm)) {
$::Wizard_finished = 1;
$in->ask_okcancel("error", N("installation failed"));