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:
Maniack Crudelis 2019-05-21 12:56:13 +02:00
parent 338dd75c50
commit e1e60efc09

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
#=================================================