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