# Create libglx-xorg.so libglx.so symlink for Mesa.
case ${ACTION} in
post)
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