#!/bin/sh

ver_new="$1"
ver_old="$2"

if [ "${ver_new%-r*}" != "${ver_old%-r*}" ]; then
	echo '  * Run "occ upgrade" to finish upgrading your NextCloud instance!' >&2
	echo '  * NOTE: since v29.0.4-r1 "occ" command is now in package "nextcloudNN-occ"' >&2
fi
