mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
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.
|
# Create libglx-xorg.so libglx.so symlink for Mesa.
|
||||||
case ${ACTION} in
|
case ${ACTION} in
|
||||||
post)
|
post)
|
||||||
cd usr/lib/xorg/modules/extensions
|
if [ ! -e usr/lib/xorg/modules/extensions/libglx-nvidia.so* ]; then
|
||||||
rm -f libglx.so && ln -sf libglx-xorg.so libglx.so
|
cd usr/lib/xorg/modules/extensions
|
||||||
|
rm -f libglx.so && ln -sf libglx-xorg.so libglx.so
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue