1 2 3 4 5 6 7 8 9 10 11 12 13 14
# 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 $*