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:
commit
706f71e4cd
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue