# arg 1: the new package version post_install() { gen_is_xml.py } post_upgrade() { gen_is_xml.py } post_remove() { gen_is_xml.py } op=$1 shift $op $*