diff --git a/scripts/install b/scripts/install index cce9d12..9470951 100644 --- a/scripts/install +++ b/scripts/install @@ -131,7 +131,11 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php" # Install PHP dependencies using composer #================================================= -ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" +pushd $final_path + export COMPOSER_HOME=$final_path + ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php${phpversion} -- --version="1.10.16" --install-dir="$final_path" \ + && php${phpversion} composer.phar install --no-interaction --quiet +popd #================================================= # SETUP SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 6f263e2..d54b3be 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -158,10 +158,11 @@ pushd "$final_path" ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \ && php$phpversion composer.phar config --global discard-changes true --quiet \ && php$phpversion composer.phar update --no-interaction --quiet \ - && php$phpversion composer.phar install --no-interaction --quiet \ && php$phpversion composer.phar movim:migrate --quiet popd +#&& php$phpversion composer.phar install --no-interaction --quiet \ + #================================================= # SETUP SYSTEMD #=================================================