# arg 1: the new package version post_install() { echo "" } # arg 1: the new package version # arg 2: the old package version post_upgrade() { /bin/true } # arg 1: the old package version pre_remove() { rm -R /etc/pacmenu >/dev/null 2>&1 } op=$1 shift $op $*