post_install() { echo ">>> Firefox (hg) is installed in " echo ">>> /usr/lib/firefox-hg/" echo ">>>" echo ">>> Start Firefox (hg) by running the command: " echo ">>> 'firefox-hg'" } post_upgrade() { post_install $1 } pre_remove() { /bin/true } op=$1 shift $op $*