From 2f5ec708a209c69ee36bd8d38750bd6ae72ca05b Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 29 Mar 2021 20:32:24 +0200 Subject: [PATCH] clean syntax for scripts with new release helpers in yunohost --- scripts/upgrade | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index fd06324..0faaaef 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,11 @@ ynh_abort_if_errors #================================================= ynh_script_progression --message="Upgrading source files..." --weight=5 -$upgrade_type == "UPGRADE_APP" +if [ "$upgrade_type" == "UPGRADE_APP" ] +then + # Download, check integrity, uncompress and patch the source from app.src + ynh_setup_source --dest_dir="$final_path" +fi #================================================= # CREATE DEDICATED USER