# arg 1: the new package version post_install() { echo "" } # arg 1: the new package version # arg 2: the old package version post_upgrade() { echo "" } # arg 1: the old package version pre_remove() { echo "" } op=$1 shift $op $*