updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / dkms-fglrx / fglrx.install
blobbf4d7f84794df85508c2460de522f5c42d618d89
1 # arg 1:  the new package version
2 post_install()
4   /usr/sbin/dkms-arch install fglrx $1
5   /bin/true
8 # arg 1:  the new package version
9 # arg 2:  the old package version
10 pre_upgrade()
12   /usr/sbin/dkms-arch remove fglrx $2
13   /bin/true
16 # arg 1:  the new package version
17 # arg 2:  the old package version
18 post_upgrade()
20   /usr/sbin/dkms-arch install fglrx $1
21   /bin/true
24 # arg 1:  the old package version
25 pre_remove()
27   /usr/sbin/dkms-arch remove fglrx $1
28   /bin/true
31 op=$1
32 shift
34 $op $*