summaryrefslogtreecommitdiffstats
path: root/perl-install/network/modem.pm
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-08-21 16:31:47 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-08-21 16:31:47 +0000
commit9b3d10be3d0d3479d5b361d68f8b0126af2c526e (patch)
treefe3295793d9c082217c755f2d02f4a235538b50b /perl-install/network/modem.pm
parentef12a722d6674f1b803cf0270684dc7467842d77 (diff)
downloaddrakx-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar
drakx-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar.gz
drakx-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar.bz2
drakx-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar.xz
drakx-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.zip
fix no winmodem message/behavior
Diffstat (limited to 'perl-install/network/modem.pm')
-rw-r--r--perl-install/network/modem.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index e7e1b509d..a291e6dcf 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -246,6 +246,8 @@ sub winmodemConfigure {
my %relocations = (ltmodem => $in->do_pkgs->check_kernel_module_packages('ltmodem'));
my $type;
+ $netc->{autodetect}{winmodem} or ($in->ask_warn(N("Warning"), N("You don't have any winmodem")) ? return 0 : $in->exit(0));
+
foreach (keys %{$netc->{autodetect}{winmodem}}) {
/Hcf/ and $type = "hcfpcimodem";
/Hsf/ and $type = "hsflinmodem";