1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
KERNEL_VERSION=2.6.38-ARCH post_install() { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." depmod $KERNEL_VERSION > /dev/null 2>&1 } post_upgrade() { post_install } # arg 1: the old package version post_remove() { post_install }