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:
parent
920e91ab98
commit
09ad01673c
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ init_composer() {
|
|||
php -- --quiet --install-dir="$destdir" \
|
||||
|| 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
|
||||
exec_composer "$destdir" install --no-dev \
|
||||
|| ynh_die "Unable to update PhpMyAdmin core dependencies"
|
||||
|
|
Loading…
Reference in a new issue