# arg 1: the new package version post_install() { depmod -a 2.6.11-ARCHIE } # arg 1: the new package version # arg 2: the old package version post_upgrade() { depmod -a 2.6.11-ARCHIE } # arg 1: the old package version pre_remove() { /bin/true } # arg 1: the old package version post_remove() { depmod -a 2.6.11-ARCHIE } op=$1 shift $op $*