updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / gspcav1all / gspcav1all.install
blob8219cf6ffae32f8e0eac8a2221b32c079a7d8e01
1 # arg 1:  the new package version
2 post_install()
4   KERNEL_VERSION=`uname -r`
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=`uname -r`
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=`uname -r`
25   /sbin/depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
28 op=$1
29 shift
30 $op $*