summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-10 10:59:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-10 10:59:13 +0000
commit2388b23be5eb2bf93bc5580435ba4fbf9ecf9575 (patch)
tree892f449f41b0dbd696bf7bb9d6f79cbac53bd52e /perl-install
parentb30446ffe29fe1b4756a03f32b32f29ae45d7305 (diff)
downloaddrakx-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar
drakx-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar.gz
drakx-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar.bz2
drakx-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar.xz
drakx-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.zip
(write_preload_conf) simplify and support multiple different AGP controllers
(though unprobable)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index be04d9530..f09936b86 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -183,9 +183,7 @@ sub write_preload_conf {
push @l, 'nvram' if cat_('/proc/bus/input/devices') =~ m!^N: Name="SynPS/2 Synaptics TouchPad"$!m;
push @l, map { $_->{driver} } probe_category('various/laptop');
my @l_26 = @l;
- if (my ($agp) = probe_category('various/agpgart')) {
- push @l_26, $agp->{driver};
- }
+ push @l_26, map { $_->{driver} } probe_category('various/agpgart');
append_to_modules_loaded_at_startup("$::prefix/etc/modules", @l);
append_to_modules_loaded_at_startup("$::prefix/etc/modprobe.preload", @l_26);
}