# arg 1: the new package version post_install() { /sbin/depmod -a } # arg 1: the new package version # arg 2: the old package version post_upgrade() { /sbin/depmod -a } post_remove() { /sbin/depmod -a } op=$1 shift [ "$(type -t "$op")" = "function" ] && $op "$@" # vim:set ts=2 sw=2 et: