xorg-server: dont create libglx.so symlink if nvidia is installed.
This commit is contained in:
parent
9d10b208d3
commit
d17fc8818e
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue