From 3dc9ba202029a899e5aaeda13bded89ff7479eed Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 4 Apr 2019 16:22:36 +0200 Subject: [PATCH 1/2] [fix] Quick fix for backup_core_only feature with the old backup. --- scripts/upgrade | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index e6de161..6095a5a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -56,8 +56,16 @@ current_major_version=${current_version%%.*} if [ $current_major_version -gt 11 ] then + # Inform the backup/restore process that it should not save the data directory + # Use only for the previous backup script that doesn't set 'is_big' + ynh_app_setting_set $app backup_core_only 1 + # Backup the current version of the app ynh_backup_before_upgrade + + # Remove the option backup_core_only after the backup. + ynh_app_setting_delete $app backup_core_only + ynh_clean_setup () { # Remove the post migration script before its execution ! ynh_secure_remove "/tmp/owncloud_post_migration.sh" 2>&1 From 4726c546f5d62fd0f2dd7f456c0435ba853a840f Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 4 Apr 2019 22:18:12 +0200 Subject: [PATCH 2/2] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index cd64223..b4b54e3 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Access & share your files, calendars, contacts, mail & more from any device, on your terms", "fr": "Consultez et partagez vos fichiers, agendas, carnets d'adresses, emails et bien plus depuis les appareils de votre choix, sous vos conditions" }, - "version": "15.0.5~ynh1", + "version": "15.0.5~ynh2", "url": "https://nextcloud.com", "license": "AGPL-3.0", "maintainer": {