diff --git a/scripts/install b/scripts/install index 5c668b6..7e568f4 100644 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --datab #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." +ynh_script_progression --message="Setting up source files...in $final_path" ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src @@ -157,7 +157,7 @@ ynh_script_progression --message="Building Movim..." pushd $final_path # ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" - curl -sS https://getcomposer.org/installer | php${phpversion} + curl -sS https://getcomposer.org/installer | php${phpversion} | COMPOSER_HOME="$final_path/.composer" # ynh_composer_exec --workdir="$final_path" --commands="movim:migrate" --phpversion="$phpversion" php${phpversion} composer.phar install