From 44bdfb2fe8abd023d8cc5752d69258d33175a68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 9 Sep 2023 16:01:35 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7a84a81..90df90d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,24 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= -ynh_script_progression --message="Checking version..." --weight=1 - -upgrade_type=$(ynh_check_app_version_changed) - -if [ "$database" == "sqlite" ] -then - ynh_script_progression --message="Sqlite is not more supported by Kimai2..." - ynh_script_progression --message="Kimai2 will be upgrade to last available version : 1.13" - if ynh_compare_current_package_version --comparison ge --version 1.17.1~ynh1 - then - ynh_script_progression --message="Kimai2 sqlite version is already to the last available version, no upgrade will be made" - ynh_die --message="" 0 - fi -fi - #================================================= # STANDARD UPGRADE STEPS #=================================================