xorg-server: dont create libglx.so symlink if nvidia is installed.

This commit is contained in:
Juan RP 2012-09-15 10:15:43 +02:00
parent 9d10b208d3
commit d17fc8818e

View file

@ -1,7 +1,9 @@
# Create libglx-xorg.so libglx.so symlink for Mesa.
case ${ACTION} in
post)
cd usr/lib/xorg/modules/extensions
rm -f libglx.so && ln -sf libglx-xorg.so libglx.so
if [ ! -e usr/lib/xorg/modules/extensions/libglx-nvidia.so* ]; then
cd usr/lib/xorg/modules/extensions
rm -f libglx.so && ln -sf libglx-xorg.so libglx.so
fi
;;
esac