summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-09 14:54:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-09 14:54:00 +0000
commitb41c1d8a7b51bebe4da0aa162365bf1c5bd1242c (patch)
tree7110eca7954aa81d34d7974ed73f39256d40c8c9 /perl-install
parent0d0ac6b5269c0a194466c47b72e6ed00211c7a28 (diff)
downloaddrakx-b41c1d8a7b51bebe4da0aa162365bf1c5bd1242c.tar
drakx-b41c1d8a7b51bebe4da0aa162365bf1c5bd1242c.tar.gz
drakx-b41c1d8a7b51bebe4da0aa162365bf1c5bd1242c.tar.bz2
drakx-b41c1d8a7b51bebe4da0aa162365bf1c5bd1242c.tar.xz
drakx-b41c1d8a7b51bebe4da0aa162365bf1c5bd1242c.zip
fix typo
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/card.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index f7fbc2218..9496c9777 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -349,7 +349,9 @@ sub install_server {
fglrx => [ 'ATI_kernel', 'ATI_GLX' ], #- using ATI fglrx driver (Radeon, Fire GL cards only).
);
if (my $rpms_needed = $proprietary_Driver2{$card->{Driver2}}) {
- push @packages, $do_pkgs->check_kernel_module_packages($rpms_needed->[0], $rpms_needed->[1]);
+ if (my $proprietary_packages = $do_pkgs->check_kernel_module_packages($rpms_needed->[0], $rpms_needed->[1])) {
+ push @packages, @$proprietary_packages;
+ }
}
$do_pkgs->install(@packages) if @packages;