1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
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 $*