From 17d68b59bba19705973fd8c30a0556c6d99fe92a Mon Sep 17 00:00:00 2001 From: rodinux Date: Tue, 19 Sep 2023 18:01:14 +0200 Subject: [PATCH] try fix comparison version existing --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index dcf2bf2..417f46d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,7 +39,7 @@ ynh_script_progression --message="Backup of the DB in temporary file...." --weig tmp_data_backup=$(mktemp -d) rsync -a $install_dir/data/ $tmp_data_backup/ -if ynh_compare_current_package_version --comparison le --version 1.2.11~ynh1; then +if ynh_compare_current_package_version --comparison le --version 1.2.11~ynh4; then mv $install_dir/config.local.user.php $tmp_data_backup/ fi