summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 20:19:56 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 20:19:56 +0000
commitac510fc57c1dbd1e0b63b480bc8e8c340192a06d (patch)
treebaf5cc394c2c37f1bd7c88ee31f3128021d6a839 /perl-install/modules.pm
parent047cb33ce06a701da00a7ae6bb236558b7aaeabb (diff)
downloaddrakx-ac510fc57c1dbd1e0b63b480bc8e8c340192a06d.tar
drakx-ac510fc57c1dbd1e0b63b480bc8e8c340192a06d.tar.gz
drakx-ac510fc57c1dbd1e0b63b480bc8e8c340192a06d.tar.bz2
drakx-ac510fc57c1dbd1e0b63b480bc8e8c340192a06d.tar.xz
drakx-ac510fc57c1dbd1e0b63b480bc8e8c340192a06d.zip
(write_preload_conf) better style
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 4d69cc1b6..fc68c9bf4 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -191,7 +191,7 @@ sub write_preload_conf {
push @l, detect_devices::probe_name('Module');
push @l, 'nvram' if $is_laptop;
push @l, map { $_->{driver} } detect_devices::probe_category($_) foreach qw(multimedia/dvb multimedia/tv various/agpgart various/laptop input/joystick various/crypto disk/card_reader);
- push @l, 'padlock-aes\npadlock-sha' if cat_("/proc/cpuinfo") =~ /rng_en/;
+ push @l, 'padlock-aes', 'padlock-sha' if cat_("/proc/cpuinfo") =~ /rng_en/;
push @l, 'evdev' if any { $_->{Synaptics} || $_->{ALPS} || $_->{HWHEEL} } detect_devices::getInputDevices();
push @l, 'asus_acpi' if $is_laptop && $manufacturer =~ m/^ASUS/;
push @l, 'thinkpad_acpi' if $is_laptop && member($manufacturer, qw(IBM LENOVO));