From cd0f7ae068298ea69ab4543fd7d0a2d5fdc8ff66 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sat, 15 Sep 2007 17:04:05 +0000 Subject: Handle the new fglrx-hd2000 alternative driver. --- lib/Xconfig/card.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Xconfig/card.pm') 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"; -- cgit v1.2.1