Initial commit: Uploaded everything from abs/core
[arch-rock.git] / support / ndiswrapper / ndiswrapper.install
blob339e561e6155126c10db3e288e616a8364a81a2b
1 # arg 1:  the new package version
2 post_install()
4   ndiswrapper -m
5   KERNEL_VERSION='2.6.23-ARCH'
6   depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 
9 # arg 1:  the new package version
10 # arg 2:  the old package version
11 post_upgrade()
13   ndiswrapper -m
14   KERNEL_VERSION='2.6.23-ARCH'
15   depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 
18 # arg 1:  the old package version
19 post_remove()
21   KERNEL_VERSION='2.6.23-ARCH'
22   depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1
25 op=$1
26 shift
28 $op $*