updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / nvidia-96xx-ice / nvidia-96xx-ice.install
blobd786bddcc5a288b10c66d1ce8618e18718867384
1 # arg 1:  the new package version
2 post_install() {
3   KERNEL_VERSION='2.6.32-ice'
4   depmod -v $KERNEL_VERSION  > /dev/null 2>&1            
7 # arg 1:  the new package version
8 # arg 2:  the old package version
9 post_upgrade() {
10   post_install $1
11   rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
14 # arg 1:  the old package version
15 post_remove() {
16   KERNEL_VERSION='2.6.32-ice'
17   depmod -v $KERNEL_VERSION      > /dev/null 2>&1        
20 op=$1
21 shift
22 $op $*