aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud
diff options
context:
space:
mode:
Diffstat (limited to 'community/nextcloud')
-rw-r--r--community/nextcloud/nextcloud.post-upgrade5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/nextcloud/nextcloud.post-upgrade b/community/nextcloud/nextcloud.post-upgrade
index 95cf241ccc..19813daf4a 100644
--- a/community/nextcloud/nextcloud.post-upgrade
+++ b/community/nextcloud/nextcloud.post-upgrade
@@ -1,5 +1,6 @@
#!/bin/sh
+ver_new="$1"
ver_old="$2"
if [ $(apk version -t "$ver_old" '12.0.0-r2') = '<' ]; then
@@ -27,3 +28,7 @@ if [ $(apk version -t "$ver_old" '12.0.0-r2') = '<' ]; then
EOF
fi
fi
+
+if [ "${ver_new%-r*}" != "${ver_old%-r*}" ]; then
+ echo '* Run "occ upgrade" to finish upgrade of your NextCloud instance!' >&2
+fi