From 47c6c715201b683d65beac6965fccb6157c8541c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 12 Dec 2011 19:54:44 +0000 Subject: (pkgs_for_Driver2) simplify --- lib/Xconfig/proprietary.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Xconfig') 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 -- cgit v1.2.1