diff --git a/scripts/install b/scripts/install index eb74733..a8674ca 100644 --- a/scripts/install +++ b/scripts/install @@ -57,7 +57,7 @@ ynh_add_config --template="composer.json" --destination="$install_dir/.composer/ ynh_install_composer --phpversion="$phpversion" --workdir="$install_dir/.composer" -# export PATH="$install_dir/.composer/vendor/bin:$PATH" +export PATH="$install_dir/.composer/vendor/bin:$PATH" #================================================= # ADD A CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 6402455..36f6423 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,6 +33,8 @@ ynh_script_progression --message="Upgrading Composer..." --weight=3 ynh_install_composer --phpversion="$phpversion" --workdir="$install_dir/.composer" +export PATH="$install_dir/.composer/vendor/bin:$PATH" + #================================================= # UPGRADE DRUPAL #=================================================