PKGBUILDs/extra/monotone/monotone.install

14 lines
360 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
# 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 $*