summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud.post-upgrade
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-11-28 22:19:36 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-11-28 22:19:36 +0000
commit9fc671264764cd0765830572daa11574c92fdba8 (patch)
tree580da54b1f122edd844dd8bb9a3e6c1ab0c05156 /user/nextcloud/nextcloud.post-upgrade
parentb0ec6a7873c7835965e2bb923e0d87ea345352d4 (diff)
parent020a30d93a101127fdd2f494026fc80c632ae728 (diff)
downloadpackages-9fc671264764cd0765830572daa11574c92fdba8.tar.gz
packages-9fc671264764cd0765830572daa11574c92fdba8.tar.bz2
packages-9fc671264764cd0765830572daa11574c92fdba8.tar.xz
packages-9fc671264764cd0765830572daa11574c92fdba8.zip
Merge branch 'nextcloud' into 'master'
user/nextcloud: new package See merge request !110
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