17 lines
385 B
Text
17 lines
385 B
Text
|
# Overwrite libGL and libglx symlinks.
|
||
|
case ${ACTION} in
|
||
|
post)
|
||
|
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
|
||
|
rm -f usr/lib/xorg/modules/extensions/libglx.so
|
||
|
|
||
|
# libGL
|
||
|
cd usr/lib
|
||
|
ln -sf libGL-nvidia.so.${VERSION%_*} libGL.so
|
||
|
ln -sf libGL-nvidia.so.${VERSION%_*} libGL.so.1
|
||
|
|
||
|
# libglx
|
||
|
cd ../../usr/lib/xorg/modules/extensions
|
||
|
ln -sf libglx-nvidia.so.${VERSION%_*} libglx.so
|
||
|
;;
|
||
|
esac
|