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

Merge pull request #65 from YunoHost-Apps/upgrade_composer

Upgrade composer
This commit is contained in:
Maniack Crudelis 2019-05-26 11:58:13 +02:00 committed by GitHub
commit 706f71e4cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,6 +155,9 @@ ynh_replace_string "__DBNAME__" $db_name "$rc_conf"
#=================================================
ynh_print_info "Updating dependencies with composer..."
# Upgrade composer itself
ynh_install_composer
# Check if dependencies need to be updated with composer
if [ -f "$final_path/composer.json" ]
then
@ -162,10 +165,8 @@ then
else
# Install composer.json
cp "$final_path/composer.json-dist" "$final_path/composer.json"
# Install composer
ynh_install_composer
fi
#=================================================
# UPGRADE ADDITIONAL PLUGINS
#=================================================