# arg 1: the new package version pre_install() { /bin/true } # arg 1: the new package version post_install() { texconfig-sys rehash } # arg 1: the new package version # arg 2: the old package version pre_upgrade() { /bin/true } # arg 1: the new package version # arg 2: the old package version post_upgrade() { post_install $1 /bin/true } # arg 1: the old package version pre_remove() { /bin/true } # arg 1: the old package version post_remove() { texconfig-sys rehash } op=$1 shift $op $*