1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
rebuild_module_dependencies() { EXTRAMODULES='extramodules-3.1-ARCH' depmod $(cat /lib/modules/$EXTRAMODULES/version) } post_install() { rebuild_module_dependencies } post_upgrade() { rebuild_module_dependencies } post_remove() { rebuild_module_dependencies }