1 2 3 4 5 6 7 8 9 10 11 12 13 14
post_install() { KERNEL_VERSION='2.6.38-ARCH' depmod -ae $KERNEL_VERSION > /dev/null 2>&1 } post_upgrade() { KERNEL_VERSION='2.6.38-ARCH' depmod -ae $KERNEL_VERSION > /dev/null 2>&1 } post_remove() { KERNEL_VERSION='2.6.38-ARCH' depmod -ae $KERNEL_VERSION > /dev/null 2>&1 }