aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/nextcloud.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'community/nextcloud/nextcloud.post-upgrade')
-rw-r--r--community/nextcloud/nextcloud.post-upgrade19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/nextcloud/nextcloud.post-upgrade b/community/nextcloud/nextcloud.post-upgrade
new file mode 100644
index 0000000000..657f17e0b1
--- /dev/null
+++ b/community/nextcloud/nextcloud.post-upgrade
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+ver_old="$2"
+
+if [ $(apk version -t "$ver_old" '12.0.0-r2') = '<' ] \
+ && [ "$(ls -A /var/lib/nextcloud/apps)" ]
+then
+ cat >&2 <<-EOF
+ *
+ * Nextcloud's bundled apps have been moved from /var/lib/nextcloud/apps
+ * to /usr/share/webapps/nextcloud/apps. Only apps installed from App Store
+ * should be stored in /var/lib/nextcloud/apps.
+ *
+ * It seems that you have installed some apps from App Store, so you have to
+ * add /var/lib/nextcloud/apps to your apps_paths. Copy "apps_paths" key
+ * from /etc/nextcloud/config.php.apk-new to your config.php.
+ *
+ EOF
+fi