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

Force php5 for composer

This commit is contained in:
Maniack Crudelis 2018-01-05 18:20:10 +01:00 committed by GitHub
parent 920e91ab98
commit 09ad01673c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,9 @@ init_composer() {
php -- --quiet --install-dir="$destdir" \ php -- --quiet --install-dir="$destdir" \
|| ynh_die "Unable to install Composer" || ynh_die "Unable to install Composer"
# Force the dependance to php 5.6
exec_composer "$destdir" config -g platform.php 5.6
exec_composer "$destdir" update --no-dev
# update dependencies to create composer.lock # update dependencies to create composer.lock
exec_composer "$destdir" install --no-dev \ exec_composer "$destdir" install --no-dev \
|| ynh_die "Unable to update PhpMyAdmin core dependencies" || ynh_die "Unable to update PhpMyAdmin core dependencies"