updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rr62x / rr62x.install
blob68cfc57ece6fc5f94736f5dc1d1b36e1d7ab4ecd
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 KERNEL_VERSION=`cat /lib/modules/extramodules-3.2-ARCH/version`
6 # arg 1:  the new package version
7 pre_install() {
8   /bin/true
11 # arg 1:  the new package version
12 post_install() {
13   depmod -v $KERNEL_VERSION > /dev/null 2>&1
14 }  
16 # arg 1:  the new package version
17 # arg 2:  the old package version
18 post_upgrade() {
19  post_install
22 # arg 1:  the old package version
23 post_remove() {
24   depmod -v $KERNEL_VERSION > /dev/null 2>&1