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