summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-01 06:25:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-01 06:25:32 +0000
commitb745155efc05fb2fb8d631fc279ccff6040cf459 (patch)
treefc1dafb9f2d2befb7a16b1337096d6c17a3a2a19 /perl-install/detect_devices.pm
parent3fc2baf1f3d32f55163370808c35e808ae09e657 (diff)
downloaddrakx-backup-do-not-use-b745155efc05fb2fb8d631fc279ccff6040cf459.tar
drakx-backup-do-not-use-b745155efc05fb2fb8d631fc279ccff6040cf459.tar.gz
drakx-backup-do-not-use-b745155efc05fb2fb8d631fc279ccff6040cf459.tar.bz2
drakx-backup-do-not-use-b745155efc05fb2fb8d631fc279ccff6040cf459.tar.xz
drakx-backup-do-not-use-b745155efc05fb2fb8d631fc279ccff6040cf459.zip
(getBewan) reuse ematching_desc__regexp()
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 5382fe34c..3295c5abf 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -472,8 +472,7 @@ sub getSpeedtouch() {
}
sub getBewan() {
- grep { $_->{description} =~ /Bewan Systems\|PCI ADSL Modem|BEWAN ADSL USB/ } probeall();
-
+ matching_desc__regexp('Bewan Systems\|PCI ADSL Modem|BEWAN ADSL USB');
}
sub getSagem() {
matching_driver(qw(adiusbadsl eagle-usb));