1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

Composer wants HOME or COMPOSER_HOME to be set

This commit is contained in:
Alexandre Aubin 2019-03-01 16:27:58 +01:00 committed by GitHub
parent ef940a1dd1
commit aa8c60b6bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,6 +147,7 @@ ynh_replace_string "'/ws/'" "'${path_url%/}/ws/'" \
( (
cd "$final_path" cd "$final_path"
export COMPOSER_HOME=$final_path
curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \ curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \
&& php composer.phar config --global discard-changes true --quiet \ && php composer.phar config --global discard-changes true --quiet \
&& php composer.phar install --no-interaction --quiet && php composer.phar install --no-interaction --quiet