diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-05-17 12:04:10 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-05-17 12:04:10 +0200 |
commit | 545b0b7de32c86264d4ec1eb7b7610e4c1c85946 (patch) | |
tree | 9ad399ce5176aee3c98f216f54a12a3e6d5290c6 /vhba-module/vhba-module.install | |
parent | 8dc1d552c0bab7b72371c3a1529e365410c7548c (diff) | |
parent | ac57415603ea60e9af632e70827dffa22cfff584 (diff) | |
download | aur-packages-545b0b7de32c86264d4ec1eb7b7610e4c1c85946.tar.gz aur-packages-545b0b7de32c86264d4ec1eb7b7610e4c1c85946.tar.xz |
Merge branch 'master' of git://git.server-speed.net/~flo/git/aur
Diffstat (limited to 'vhba-module/vhba-module.install')
-rw-r--r-- | vhba-module/vhba-module.install | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/vhba-module/vhba-module.install b/vhba-module/vhba-module.install index 4f7e460..422ff82 100644 --- a/vhba-module/vhba-module.install +++ b/vhba-module/vhba-module.install @@ -1,19 +1,16 @@ -# Copied/modified from frandom.install - -# arg 1: the new package version -# arg 2: the old package version - -post_install () { +post_install() { echo ">> Place 'vhba' in MODULES= in /etc/rc.conf to enable vhba on system boot." echo ">> This module needs to be recompiled for every kernel version upgrade." - depmod -a + KERNEL_VERSION='2.6.32-ARCH' + depmod $KERNEL_VERSION > /dev/null 2>&1 } -pre_remove () { - rmmod vhba 2> /dev/null +post_upgrade() { + post_install } -post_remove () { - depmod -a +post_remove() { + KERNEL_VERSION='2.6.32-ARCH' + depmod $KERNEL_VERSION > /dev/null 2>&1 } |