summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/ui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-19 07:06:11 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-19 07:06:11 +0000
commit345f064136c7f868901f0f2f376d9646f4f019f9 (patch)
tree3e77ea54ada39cad9e870739a3e0130cd5beeeba /perl-install/harddrake/ui.pm
parentf8d21cebb91a7c9612e7a7276ce8406e971f9c7b (diff)
downloaddrakx-345f064136c7f868901f0f2f376d9646f4f019f9.tar
drakx-345f064136c7f868901f0f2f376d9646f4f019f9.tar.gz
drakx-345f064136c7f868901f0f2f376d9646f4f019f9.tar.bz2
drakx-345f064136c7f868901f0f2f376d9646f4f019f9.tar.xz
drakx-345f064136c7f868901f0f2f376d9646f4f019f9.zip
--testing handling was erronously reverted
Diffstat (limited to 'perl-install/harddrake/ui.pm')
-rw-r--r--perl-install/harddrake/ui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/ui.pm b/perl-install/harddrake/ui.pm
index 6957116ef..06e7331d6 100644
--- a/perl-install/harddrake/ui.pm
+++ b/perl-install/harddrake/ui.pm
@@ -104,7 +104,7 @@ sub detect {
foreach (@harddrake::data::tree) {
my ($Ident, $title, $icon, $configurator, $detector) = @$_;
next if ref($detector) ne "CODE"; #skip class witouth detector
- next if $Ident =~ /(MODEM|PRINTER)/ && $::testing;
+ next if $Ident =~ /(MODEM|PRINTER)/ && !$::testing;
next if $Ident =~ /MODEM/ && !$options{MODEMS_DETECTION};
next if $Ident =~ /PRINTER/ && !$options{PRINTERS_DETECTION};
# print N("Probing %s class\n", $Ident);