summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-01-13 12:41:52 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-01-13 12:41:52 +0000
commit8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4 (patch)
tree7e8512f507d2454c75d0983918cd95488be30109 /perl-install/modules.pm
parent58f604869ed79dd73e01a4955efbadd97226635d (diff)
downloaddrakx-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar
drakx-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar.gz
drakx-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar.bz2
drakx-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar.xz
drakx-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.zip
detect_devices::matching_driver -> matching_desc but matching driver names (kernel modules)
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 27253b594..edf4272d1 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -285,7 +285,7 @@ sub write_conf() {
}
my @l;
push @l, 'scsi_hostadapter' if !is_empty_array_ref($conf{scsi_hostadapter}{probeall});
- push @l, 'bttv' if any { $_->{driver} eq 'bttv' } detect_devices::probeall();
+ push @l, 'bttv' if detect_devices::matching_driver('^bttv$');
append_to_modules_loaded_at_startup("$::prefix/etc/modules", @l);
append_to_modules_loaded_at_startup("$::prefix/etc/modprobe.preload", @l);