summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2007-09-15 17:04:05 +0000
committerAnssi Hannula <anssi@mandriva.org>2007-09-15 17:04:05 +0000
commitcd0f7ae068298ea69ab4543fd7d0a2d5fdc8ff66 (patch)
treee403857ffa2699c188a96f4815b4f2de5aad0e3e /lib/Xconfig/card.pm
parent669be7fc67198dc9b3cda97bf16a811849dd566a (diff)
downloaddrakx-kbd-mouse-x11-cd0f7ae068298ea69ab4543fd7d0a2d5fdc8ff66.tar
drakx-kbd-mouse-x11-cd0f7ae068298ea69ab4543fd7d0a2d5fdc8ff66.tar.gz
drakx-kbd-mouse-x11-cd0f7ae068298ea69ab4543fd7d0a2d5fdc8ff66.tar.bz2
drakx-kbd-mouse-x11-cd0f7ae068298ea69ab4543fd7d0a2d5fdc8ff66.tar.xz
drakx-kbd-mouse-x11-cd0f7ae068298ea69ab4543fd7d0a2d5fdc8ff66.zip
Handle the new fglrx-hd2000 alternative driver.
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index d2f789b..97b2abd 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -343,7 +343,7 @@ sub libgl_config_and_more {
#- ensure old deprecated conf files are not there anymore
unlink("/etc/ld.so.conf.d/$_.conf") foreach 'nvidia', 'nvidia_legacy', 'ati';
- my $wanted = $card->{Driver} eq 'fglrx' ? "/etc/ld.so.conf.d/GL/ati.conf" :
+ my $wanted = $card->{Driver} eq 'fglrx' ? "/etc/ld.so.conf.d/GL/ati$card->{DriverVersion}.conf" :
$card->{Driver} eq 'nvidia' ? "/etc/nvidia$card->{DriverVersion}/ld.so.conf" :
'/etc/ld.so.conf.d/GL/standard.conf';
my $link = "$::prefix/etc/alternatives/gl_conf";