From 08b6d9d67e73ee0bd0da7e6d49741bde25936d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 2 Sep 2024 00:14:23 +0200 Subject: [PATCH] Fix compare version --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 10660a9..c8c3a7f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -3,7 +3,7 @@ source _common.sh source /usr/share/yunohost/helpers -if ynh_compare_current_package_version --comparison=le --version='14.10.8~ynh1'; then +if ynh_app_upgrading_from_version_before_or_equal_to '14.10.8~ynh1'; then ynh_die --mesage='Upgrade from this version is not supported. Please backup and restore manually the data after a clean new install' fi