diff options
author | Anssi Hannula <anssi@mandriva.org> | 2007-10-28 18:42:42 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2007-10-28 18:42:42 +0000 |
commit | 576adb78f7409a73b1655999558151a0ce5047a7 (patch) | |
tree | 7eaa642372fd15daac565ceeedcad687735d5010 /lib/Xconfig | |
parent | a1f456940e6ec1b7c39f33ed9d6b1e07e13410ce (diff) | |
download | drakx-kbd-mouse-x11-576adb78f7409a73b1655999558151a0ce5047a7.tar drakx-kbd-mouse-x11-576adb78f7409a73b1655999558151a0ce5047a7.tar.gz drakx-kbd-mouse-x11-576adb78f7409a73b1655999558151a0ce5047a7.tar.bz2 drakx-kbd-mouse-x11-576adb78f7409a73b1655999558151a0ce5047a7.tar.xz drakx-kbd-mouse-x11-576adb78f7409a73b1655999558151a0ce5047a7.zip |
handle fglrx_dri.so handled by alternatives
Diffstat (limited to 'lib/Xconfig')
-rw-r--r-- | lib/Xconfig/proprietary.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm index 2c5e713..a048717 100644 --- a/lib/Xconfig/proprietary.pm +++ b/lib/Xconfig/proprietary.pm @@ -86,8 +86,9 @@ sub may_use_Driver2 { $card2; } elsif ($card2->{Driver} eq 'fglrx') { $check_drv->('fglrx_drv', "fglrx$card2->{DriverVersion}") or return; - $card2->{DriverVersion} eq '-hd2000' || -e "$::prefix$modules_dir/dri/fglrx_dri.so" - || -e "$::prefix/usr/$lib/dri/fglrx_dri.so" or + -e "$::prefix/usr/$lib/fglrx$card2->{DriverVersion}/dri/fglrx_dri.so" || + -e "$::prefix$modules_dir/dri/fglrx_dri.so" || + -e "$::prefix/usr/$lib/dri/fglrx_dri.so" or log::l("proprietary fglrx_dri.so missing"), return; log::explanations("Using specific ATI fglrx and DRI drivers"); |