1 2 3 4 5 6 7 8
#!/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