summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-01-24 19:39:43 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-01-24 19:39:43 +0000
commit7a0c1e3f8c734a916b2ac8db5c32791e8fe02d33 (patch)
tree419b9544dfed0e00a722fd218204e998124aac5c
parent66e92d01702fdc5bff218efe3ca32e4dada18e93 (diff)
downloaddrakx-7a0c1e3f8c734a916b2ac8db5c32791e8fe02d33.tar
drakx-7a0c1e3f8c734a916b2ac8db5c32791e8fe02d33.tar.gz
drakx-7a0c1e3f8c734a916b2ac8db5c32791e8fe02d33.tar.bz2
drakx-7a0c1e3f8c734a916b2ac8db5c32791e8fe02d33.tar.xz
drakx-7a0c1e3f8c734a916b2ac8db5c32791e8fe02d33.zip
get back serial modem detection
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index fe5f484cd..5487a7ca2 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -390,7 +390,7 @@ sub getSerialModem {
modules::add_alias('serial', $serdev) if arch() =~ /ppc/ && $modem->{device};
my @devs = pcmcia_probe();
foreach (@devs) { $_->{type} =~ /serial/ and $modem->{device} = $_->{device} }
- grep { if_(defined $_->{device}, $_) } @devs;
+ $modem;
}
sub getModem() {