# arg 1: the new package version # arg 2: the old package version post_upgrade() { if [ "$(vercmp $2 0.33)" -lt 0 ]; then echo ">>> Your monotone databases will need updating for an internal format" echo ">>> change. Please run the following command on your databases:" echo ">>> $ mtn -d dbname.mtn db migrate" fi } op=$1 shift $op $*