pre_install() { /bin/true } post_install() { echo "-- Use FreeMat -i /usr/share/FreeMat-3.6/ to adjust docs location" } pre_upgrade() { /bin/true } post_upgrade() { echo "-- Use FreeMat -i /usr/share/FreeMat-3.6/ to adjust docs location" } pre_remove() { /bin/true } post_remove() { /bin/true } op=$1 shift $op $*