pre_install() { /bin/true } post_install() { depmod -a } pre_upgrade() { /bin/true } post_upgrade() { depmod -a } pre_remove() { /bin/true } post_remove() { depmod -a } op=$1 shift $op $*