summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-17 14:00:18 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-17 14:00:18 +0000
commite41014f294df8dce221705de24408dec495b28b1 (patch)
treecfba9bfe4b067f5bc44bb3ce3d0cd37236f3b5f1 /perl-install/standalone/harddrake2
parent7eb34c1ee66b8ce304eb74dea6b9b90482fc20a9 (diff)
downloaddrakx-backup-do-not-use-e41014f294df8dce221705de24408dec495b28b1.tar
drakx-backup-do-not-use-e41014f294df8dce221705de24408dec495b28b1.tar.gz
drakx-backup-do-not-use-e41014f294df8dce221705de24408dec495b28b1.tar.bz2
drakx-backup-do-not-use-e41014f294df8dce221705de24408dec495b28b1.tar.xz
drakx-backup-do-not-use-e41014f294df8dce221705de24408dec495b28b1.zip
fix inverted condition for detecting serial modem (regression
introduced in r256551)
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake22
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 1b0c26e95..adc96cbd9 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -393,7 +393,7 @@ foreach my $hw_class (@harddrake::data::tree) {
next if $Ident =~ /(MODEM|PRINTER)/ && $::testing;
next if $Ident =~ /JAZZ/ && !$options{JAZZ_DETECTION};
next if $Ident =~ /PRINTER/ && !$options{PRINTERS_DETECTION};
- $detect_devices::detect_serial_modem = 0 if $harddrake::data =~ /MODEM/ && !$options{MODEMS_DETECTION};
+ $detect_devices::detect_serial_modem = 0 if $Ident =~ /MODEM/ && !$options{MODEMS_DETECTION};
my @devices = $detector->(\%options);
next unless @devices; # Skip empty class (no devices)