Added prebuild() to bash/PKGBUILD
[Archlinux-Stable.git] / support / wlan-ng26 / wlan-ng26.install
blob42f91b2707977b611b5327cef03a16642176aa39
1 # arg 1:  the new package version
2 post_install() {
3   post_upgrade
6 # arg 1:  the new package version
7 # arg 2:  the old package version
8 post_upgrade() {
9   # updating module dependencies
10   echo ">>> Updating module dependencies. Please wait ..."
11   KERNEL_VERSION=2.6.23-ARCH
12   depmod -v $KERNEL_VERSION  > /dev/null 2>&1
15 # arg 1:  the old package version
16 pre_remove() {
17   /bin/true
20 # arg 1:  the old package version
21 post_remove() {
22   # updating module dependencies
23   echo ">>> Updating module dependencies. Please wait ..."
24   KERNEL_VERSION=2.6.23-ARCH
25   depmod -v $KERNEL_VERSION  > /dev/null 2>&1
28 op=$1
29 shift
30 $op $*