xorg-server: dont create libglx.so symlink if nvidia is installed.
This commit is contained in:
parent
9d10b208d3
commit
d17fc8818e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue