From c32745baee720157a8ccd8a6174fb49974ad08c8 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 28 Feb 2021 21:54:57 +0100 Subject: [PATCH] Fix bad condition Co-authored-by: Alex Garel --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e3f536c..9b3d266 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -65,7 +65,7 @@ ynh_abort_if_errors # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -if [ "$upgrade_type" == "UPGRADE_APP" || "$upgrade_type" == "UPGRADE_FORCED" ] # we should do that during a force upgrade too (as it could lead to a version upgrade for instance) +if [ "$upgrade_type" == "UPGRADE_APP" ] || [ "$upgrade_type" == "UPGRADE_FORCED" ] # we should do that during a force upgrade too (as it could lead to a version upgrade for instance) then ynh_script_progression --message="Upgrading source files..."