summaryrefslogtreecommitdiffstats
path: root/perl-install/network
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
parentef12a722d6674f1b803cf0270684dc7467842d77 (diff)
downloaddrakx-backup-do-not-use-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar
drakx-backup-do-not-use-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar.gz
drakx-backup-do-not-use-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar.bz2
drakx-backup-do-not-use-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.tar.xz
drakx-backup-do-not-use-9b3d10be3d0d3479d5b361d68f8b0126af2c526e.zip
fix no winmodem message/behavior
Diffstat (limited to 'perl-install/network')
-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";