aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-01-24 17:24:10 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-01-24 17:27:52 +0100
commit0ffca2c02d1b1e8403f69ee4ae42d1293b055705 (patch)
treec9db379e98cdc53603ec1f746ef11ea3a2a2b790 /community/nextcloud
parente87d962796b55707bfdc312940e3233b2113a715 (diff)
downloadaports-0ffca2c02d1b1e8403f69ee4ae42d1293b055705.tar.bz2
aports-0ffca2c02d1b1e8403f69ee4ae42d1293b055705.tar.xz
community/nextcloud: print notice to run "occ upgrade" after upgrade
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