updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / exmap / exmap.install
blobd6dcfa856db88d1d81872f25a078178ec93962cc
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 ">>>"
11   echo ">>> Updating module dependencies. Please wait ..."
12   KERNEL_VERSION=2.6.32-ARCH
13   depmod -A -v $KERNEL_VERSION  > /dev/null 2>&1
14   echo ">>>"
15   echo "*********************************************************"
16   echo "* Remember to \"modprobe exmap\" before running \"gexmap\". *"
17   echo "* It *could* bear more accurate results if ran as root. *"
18   echo "*********************************************************"
21 # arg 1:  the old package version
22 post_remove() {
23   # updating module dependencies
24   echo ">>>"
25   echo ">>> Updating module dependencies. Please wait ..."
26   KERNEL_VERSION=2.6.33-ice
27   depmod -A -v $KERNEL_VERSION > /dev/null 2>&1
30 op=$1
31 shift
32 $op $*