diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-16 14:50:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-16 14:50:42 +0000 |
commit | c04b43436a2a3111ea9406a319c08b499bd67b43 (patch) | |
tree | 45dd7e9acf9405588601c8ef2c0d6faa220dc31a /perl-install | |
parent | b44d5ac8b075d2318a47f965868dd57a514bc247 (diff) | |
download | drakx-backup-do-not-use-c04b43436a2a3111ea9406a319c08b499bd67b43.tar drakx-backup-do-not-use-c04b43436a2a3111ea9406a319c08b499bd67b43.tar.gz drakx-backup-do-not-use-c04b43436a2a3111ea9406a319c08b499bd67b43.tar.bz2 drakx-backup-do-not-use-c04b43436a2a3111ea9406a319c08b499bd67b43.tar.xz drakx-backup-do-not-use-c04b43436a2a3111ea9406a319c08b499bd67b43.zip |
make it clear these checks are only for pci modems
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/netconnect.pm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 56fdbe7a7..c43565c0d 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -469,11 +469,12 @@ Take a look at http://www.linmodems.org"), my %relocations = (ltmodem => $in->do_pkgs->check_kernel_module_packages('ltmodem')); my $type; - my $driver = $netc->{autodetect}{modem}{$modem_name}{driver}; - $driver =~ /^Hcf:/ and $type = "hcfpcimodem"; - $driver =~ /^Hsf:/ and $type = "hsflinmodem"; - $driver =~ /^LT:/ and $type = "ltmodem"; - $relocations{$type} || $type && $in->do_pkgs->what_provides($type) or $type = undef; + if (my $driver = $netc->{autodetect}{modem}{$modem_name}{driver}) { + $driver =~ /^Hcf:/ and $type = "hcfpcimodem"; + $driver =~ /^Hsf:/ and $type = "hsflinmodem"; + $driver =~ /^LT:/ and $type = "ltmodem"; + $relocations{$type} || $type && $in->do_pkgs->what_provides($type) or $type = undef; + } return "no_supported_winmodem" if !$type; |