# arg 1: the new package version post_install() { ln -s /usr/lib/xe/xe /usr/bin/xe } # arg 1: the new package version # arg 2: the old package version post_upgrade() { /bin/true } # arg 1: the old package version post_remove() { rm -fr /usr/bin/xe } op=$1 shift $op $*