diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/Xconfig/proprietary.pm | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -4,6 +4,7 @@ to use XFdrake-compatible Identifiers (as suggested by fcrozat) - add avivo in the Xorg drivers list - handle libglx.so provided by standard.conf alternative +- handle x11-driver-video-fglrx instead of ati Version 0.21 - 8 August 2007, by Pascal "Pixel" Rigaux diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm index 7c77456..217b4cc 100644 --- a/lib/Xconfig/proprietary.pm +++ b/lib/Xconfig/proprietary.pm @@ -36,8 +36,8 @@ sub install_matrox_hal { sub pkgs_for_Driver2 { my ($Driver2, $do_pkgs) = @_; - my ($pkg, $base_name) = $Driver2 eq 'fglrx' ? ('ati', 'ati') : - $Driver2 =~ /^nvidia/ ? ("x11-driver-video-$Driver2", $Driver2) : () or return; + my ($pkg, $base_name) = ($Driver2 eq 'fglrx' || $Driver2 =~ /^nvidia/) ? + ("x11-driver-video-$Driver2", $Driver2) : () or return; $do_pkgs->is_available($pkg) or log::l("proprietary package $pkg not available"), return; |