mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
14 lines
360 B
Text
14 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 $*
|