From e1e60efc09a0a127363139cdb79000df966ba806 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 21 May 2019 12:56:13 +0200 Subject: [PATCH] Upgrade composer --- scripts/upgrade | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index d1eb374..3f4cb4b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -155,6 +155,9 @@ ynh_replace_string "__DBNAME__" $db_name "$rc_conf" #================================================= ynh_print_info "Updating dependencies with composer..." +# Upgrade composer itself +ynh_install_composer + # Check if dependencies need to be updated with composer if [ -f "$final_path/composer.json" ] then @@ -162,10 +165,8 @@ then else # Install composer.json cp "$final_path/composer.json-dist" "$final_path/composer.json" - - # Install composer - ynh_install_composer fi + #================================================= # UPGRADE ADDITIONAL PLUGINS #=================================================