post_common() { depmod -a } ## arg 1: the new package version post_install() { post_common } ## arg 1: the new package version ## arg 2: the old package version post_upgrade() { post_common } ## arg 1: the old package version post_remove() { post_common }