mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Merge pull request #15 from tituspijean/fix-composer
Require Composer v1
This commit is contained in:
commit
a5ff12eaa4
2 changed files with 3 additions and 3 deletions
|
@ -142,8 +142,8 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php"
|
||||||
(
|
(
|
||||||
cd "$final_path"
|
cd "$final_path"
|
||||||
export COMPOSER_HOME=$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 -- --version="1.10.16" --install-dir="$final_path" \
|
||||||
&& php"${phpversion}" composer.phar install --no-interaction --quiet
|
&& php"${phpversion}" composer.phar install --no-interaction
|
||||||
)
|
)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -148,7 +148,7 @@ chown -R $app $final_path/src/Movim/Bootstrap.php
|
||||||
|
|
||||||
(
|
(
|
||||||
cd "$final_path"
|
cd "$final_path"
|
||||||
curl -sS https://getcomposer.org/installer | php -- --install-dir="$final_path" \
|
curl -sS https://getcomposer.org/installer | php -- --version="1.10.16" --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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue