1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

Force to use composer version 1.10.17

Composer 2.x is breaking installation of roundcube plugins
Waiting updates of plugins, we must use composer verison 1.x
This commit is contained in:
Sebastien Mennetrier 2020-11-09 10:57:01 +01:00
parent e30ca4b89c
commit c79c39a2b7

View file

@ -7,6 +7,9 @@
# Package dependencies # Package dependencies
pkg_dependencies="php-cli php-common php-intl php-json php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-zip php-gd php-mbstring php-curl" pkg_dependencies="php-cli php-common php-intl php-json php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-zip php-gd php-mbstring php-curl"
# Composer version
composer_version=1.10.17
# Plugins version # Plugins version
contextmenu_version=2.3 contextmenu_version=2.3
automatic_addressbook_version=v0.4.3 automatic_addressbook_version=v0.4.3
@ -55,7 +58,7 @@ ynh_install_composer () {
curl -sS https://getcomposer.org/installer \ curl -sS https://getcomposer.org/installer \
| COMPOSER_HOME="$workdir/.composer" \ | COMPOSER_HOME="$workdir/.composer" \
php${phpversion} -- --quiet --install-dir="$workdir" \ php${phpversion} -- --quiet --install-dir="$workdir" --version="$composer_version" \
|| ynh_die "Unable to install Composer." || ynh_die "Unable to install Composer."
# update dependencies to create composer.lock # update dependencies to create composer.lock