updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / catalyst-tp / catalyst-tp.install
blob36e3db4751027e4963a3ab3c7497c33ad9d12982
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 pre_install() {
6   /bin/true
9 # arg 1:  the new package version
10 post_install() {
11   echo "PLEASE NOTE:"
12   echo "--------------------------------------------------------------"
13   echo "You can use the tool 'aticonfig' to generate an xorg.conf file."
14   echo "Remember to add fglrx to the MODULES list in /etc/rc.conf."
15   echo "--------------------------------------------------------------"
16   KERNEL_VERSION=2.6.25-tp
17   depmod -v $KERNEL_VERSION > /dev/null 2>&1
20 # arg 1:  the new package version
21 # arg 2:  the old package version
22 post_upgrade() {
23   KERNEL_VERSION=2.6.25-tp
24   depmod -v $KERNEL_VERSION > /dev/null 2>&1
27 # arg 1:  the old package version
28 post_remove() {
29   KERNEL_VERSION=2.6.25-tp
30   depmod -v $KERNEL_VERSION > /dev/null 2>&1
33 op=$1
34 shift
35 $op $*