PKGBUILDs/extra/monotone/monotone.install
2009-10-09 21:23:22 -05:00

13 lines
360 B
Text

# 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 $*