From 52c1ddf69d380fcede4093aaedd224f90bcbd285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 16 Mar 2024 14:17:25 +0100 Subject: [PATCH] Fix path to drush --- scripts/install | 2 +- scripts/upgrade | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 #=================================================