#!/bin/sh

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

if [ "${ver_new%-r*}" != "${ver_old%-r*}" ]; then
	echo '* Run "occ upgrade" to finish upgrade of your NextCloud instance!' >&2
fi