catalyst: properly restore mesa/xorg-server glx symlinks after deinstall (#146).
This commit is contained in:
parent
ec4e5d7953
commit
4073606b59
|
@ -0,0 +1,19 @@
|
||||||
|
# Restore mesa libGL and xorg-server libglx symlinks.
|
||||||
|
case ${ACTION} in
|
||||||
|
purge)
|
||||||
|
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
|
||||||
|
rm -f usr/lib/xorg/modules/extensions/libglx.so
|
||||||
|
|
||||||
|
# libGL
|
||||||
|
cd usr/lib
|
||||||
|
if [ -f libGL-mesa.so.1.2.0 ]; then
|
||||||
|
ln -sf libGL-mesa.so.1.2.0 libGL.so
|
||||||
|
ln -sf libGL-mesa.so.1.2.0 libGL.so.1
|
||||||
|
fi
|
||||||
|
# libglx
|
||||||
|
if [ -f xorg/modules/extensions/libglx-xorg.so ]; then
|
||||||
|
cd xorg/modules/extensions
|
||||||
|
ln -sf libglx-xorg.so libglx.so
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Regenerate initramfs.
|
||||||
|
case ${ACTION} in
|
||||||
|
post)
|
||||||
|
echo "Regenerating initramfs, please wait..."
|
||||||
|
dracut -f -q
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Regenerate initramfs.
|
||||||
|
case ${ACTION} in
|
||||||
|
purge)
|
||||||
|
echo "Regenerating initramfs, please wait..."
|
||||||
|
dracut -f -q
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'catalyst'
|
# Template file for 'catalyst'
|
||||||
pkgname=catalyst
|
pkgname=catalyst
|
||||||
version=13.8beta1
|
version=13.8beta1
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="AMD catalyst driver for Linux"
|
short_desc="AMD catalyst driver for Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="Propietary AMD license"
|
license="Propietary AMD license"
|
||||||
|
|
Loading…
Reference in New Issue