summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-10 14:24:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-10 14:24:22 +0000
commit191ec06b38ee710f661e94e9fcf6542910c548d3 (patch)
tree4bede5996257265c70d5bf8e8976a032a29cef51 /perl-install/detect_devices.pm
parent96fad6109b0120be1664e89a726406c5b3d11d97 (diff)
downloaddrakx-191ec06b38ee710f661e94e9fcf6542910c548d3.tar
drakx-191ec06b38ee710f661e94e9fcf6542910c548d3.tar.gz
drakx-191ec06b38ee710f661e94e9fcf6542910c548d3.tar.bz2
drakx-191ec06b38ee710f661e94e9fcf6542910c548d3.tar.xz
drakx-191ec06b38ee710f661e94e9fcf6542910c548d3.zip
(getTVcards) rely on "multimedia/tv" category
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 555a141e1..1b33a4604 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -11,6 +11,7 @@ use log;
use common;
use devices;
use run_program;
+use modules;
use c;
#-#####################################################################################
@@ -450,9 +451,7 @@ sub getSoundDevices() {
sub isTVcard { member($_[0]{driver}, qw(bttv cx8800 saa7134 usbvision)) }
-sub getTVcards() {
- grep { isTVcard($_) } detect_devices::probeall();
-}
+sub getTVcards() { modules::probe_category('multimedia/tv') }
sub getInputDevices() {
my (@devices, $device);