summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-12 19:54:44 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-12 19:54:44 +0000
commit47c6c715201b683d65beac6965fccb6157c8541c (patch)
tree56c0013f122d89108088e719609092d2b4026d19
parenta061dd6c6a1e21a2d08d220828f9b9837e88bea9 (diff)
downloaddrakx-kbd-mouse-x11-47c6c715201b683d65beac6965fccb6157c8541c.tar
drakx-kbd-mouse-x11-47c6c715201b683d65beac6965fccb6157c8541c.tar.gz
drakx-kbd-mouse-x11-47c6c715201b683d65beac6965fccb6157c8541c.tar.bz2
drakx-kbd-mouse-x11-47c6c715201b683d65beac6965fccb6157c8541c.tar.xz
drakx-kbd-mouse-x11-47c6c715201b683d65beac6965fccb6157c8541c.zip
(pkgs_for_Driver2) simplify
-rw-r--r--lib/Xconfig/proprietary.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm
index 86b8a4d..c55e081 100644
--- a/lib/Xconfig/proprietary.pm
+++ b/lib/Xconfig/proprietary.pm
@@ -49,7 +49,7 @@ sub handle_DRIVER2_NO_SSE {
sub pkgs_for_Driver2 {
my ($Driver2, $do_pkgs) = @_;
- my ($pkg, $base_name) = ($Driver2 =~ /^fglrx/ || $Driver2 =~ /^nvidia/) ?
+ my ($pkg, $base_name) = ($Driver2 =~ /^fglrx|^nvidia/) ?
("x11-driver-video-$Driver2", $Driver2) : () or return;
$do_pkgs->is_installed($pkg) || $do_pkgs->is_available($pkg) or