From a7f096cdf743517853a19049078acf574001722d Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 31 Dec 2021 11:11:28 +0100 Subject: [PATCH 1/2] Die with message if upgrade is impossible (#58) --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 48e752b..78a4120 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,6 +27,11 @@ nextcloud_domain=$(ynh_app_setting_get --app="$app" --key=nextcloud_domain) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=2 +if ynh_compare_current_package_version --comparison le --version 6.4.10~ynh2 +then + ynh_die --message="Upgrade from version 6.4.10 is not possible. You must uninstall and reinstall Collabora package manually" +fi + # If db_name doesn't exist, create it if [ -z "$path_url" ]; then path_url="/" From 7b9ac74d0807d4fb39122e3e1995c5671905ffd7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 20 Feb 2022 18:11:52 +0100 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 d7e2d1e..c6a3133 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "LibreOffice-based online office suite with collaborative editing", "fr": "Suite office en ligne et collaborative, basée sur LibreOffice" }, - "version": "21.11.0.6~ynh1", + "version": "21.11.2.2~ynh1", "url": "https://collaboraoffice.com", "upstream": { "license": "MPL-2.0",