summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud.post-upgrade
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
committerMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
commit020a30d93a101127fdd2f494026fc80c632ae728 (patch)
tree70afe4522257b7b7ef78329f2919f7b364e18d65 /user/nextcloud/nextcloud.post-upgrade
parent3a06f7cc492260836cd9910e2509aec9f0ba3d54 (diff)
downloadpackages-020a30d93a101127fdd2f494026fc80c632ae728.tar.gz
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.bz2
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.xz
packages-020a30d93a101127fdd2f494026fc80c632ae728.zip
user/nextcloud: new package
Diffstat (limited to 'user/nextcloud/nextcloud.post-upgrade')
-rw-r--r--user/nextcloud/nextcloud.post-upgrade8
1 files changed, 8 insertions, 0 deletions
diff --git a/user/nextcloud/nextcloud.post-upgrade b/user/nextcloud/nextcloud.post-upgrade
new file mode 100644
index 000000000..e4ad291ac
--- /dev/null
+++ b/user/nextcloud/nextcloud.post-upgrade
@@ -0,0 +1,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