updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / catalyst-beta / catalyst-beta.install
blob6997c341ecf1d2a52fa493f509af174595f2ac95
1 KERNEL_VERSION=2.6.31-ARCH
3 post_install() {
4   depmod $KERNEL_VERSION
5   rm -f usr/lib/xorg/modules/extensions/libdri.so
6   ln -sf libdri.ati usr/lib/xorg/modules/extensions/libdri.so
7   echo 'ef63bf6953f207b95a61f7eaf13ff0f9:d74d895c7ec23e896250c48bdc0fc8ced8568f2a7eb353f07a55ced2c70fc4:8b548b0d6bcb32da6d0494d8c25ac8c0d9518a5930c63fdb3e02c78c9207939c8b5b8a5f6b9435d86d0495d9c40c96c9d8028a5c3097638b3956c78c920b' > /etc/ati/signature
8   echo "NOTE: You may need to use the tool 'aticonfig' to generate an xorg.conf file."
11 post_upgrade() {
12   depmod $KERNEL_VERSION
13   rm -f usr/lib/xorg/modules/extensions/libdri.so
14   ln -sf libdri.ati usr/lib/xorg/modules/extensions/libdri.so
15   echo 'ef63bf6953f207b95a61f7eaf13ff0f9:d74d895c7ec23e896250c48bdc0fc8ced8568f2a7eb353f07a55ced2c70fc4:8b548b0d6bcb32da6d0494d8c25ac8c0d9518a5930c63fdb3e02c78c9207939c8b5b8a5f6b9435d86d0495d9c40c96c9d8028a5c3097638b3956c78c920b' > /etc/ati/signature
18 post_remove() {
19   depmod $KERNEL_VERSION
20   # If the symlink is dead, remove it
21   if [ ! -e usr/lib/xorg/modules/extensions/libdri.so ]; then
22     rm -f usr/lib/xorg/modules/extensions/libdri.so
23     ln -sf libdri.xorg usr/lib/xorg/modules/extensions/libdri.so
24   fi
25   echo "NOTE: Don't forget to recover your original xorg.conf file."