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

Upgrade composer

This commit is contained in:
ericgaspar 2021-02-26 00:10:08 +01:00
parent 9326a594ad
commit c1bde118f1
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ YNH_PHP_VERSION="7.3"
extra_php_dependencies="php-pear php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-curl" extra_php_dependencies="php-pear php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-curl"
# Composer version # Composer version
composer_version=1.10.17 composer_version=2.0.11
# Plugins version # Plugins version
contextmenu_version=2.3 contextmenu_version=2.3
@ -21,7 +21,7 @@ carddav_version=3.0.3
# EXPERIMENTAL HELPERS # EXPERIMENTAL HELPERS
#================================================= #=================================================
readonly YNH_DEFAULT_COMPOSER_VERSION=1.10.17 readonly YNH_DEFAULT_COMPOSER_VERSION=2.0.11
# Declare the actual composer version to use. # Declare the actual composer version to use.
# A packager willing to use another version of composer can override the variable into its _common.sh. # A packager willing to use another version of composer can override the variable into its _common.sh.
YNH_COMPOSER_VERSION=${YNH_COMPOSER_VERSION:-$YNH_DEFAULT_COMPOSER_VERSION} YNH_COMPOSER_VERSION=${YNH_COMPOSER_VERSION:-$YNH_DEFAULT_COMPOSER_VERSION}

View file

@ -261,7 +261,7 @@ then
( cd "$final_path" ( cd "$final_path"
ynh_exec_warn ./bin/update.sh --version=$oldversion -y ynh_exec_warn ./bin/update.sh --version=$oldversion -y
php$phpversion composer.phar update --no-dev) sudo -u $app php$phpversion composer.phar update --no-dev)
fi fi
#================================================= #=================================================