updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gspcav1-tp / gspcav1-tp.install
blob4308ae160e7c25eae1633ac97c6a2bad83097d57
1 # arg 1:  the new package version
2 post_install()
4   KERNEL_VERSION='2.6.24-tp'
5   /sbin/depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
8 # arg 1:  the new package version
9 # arg 2:  the old package version
10 post_upgrade()
12   KERNEL_VERSION='2.6.24-tp'
13   /sbin/depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
16 # arg 1:  the old package version
17 pre_remove() {
18   /sbin/rmmod gspca > /dev/null 2>&1
21 # arg 1:  the old package version
22 post_remove()
24   KERNEL_VERSION='2.6.24-tp'
25   /sbin/depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
28 op=$1
29 shift
30 $op $*