diff --git a/scripts/upgrade b/scripts/upgrade index d96f415..1877b73 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -179,6 +179,8 @@ then if [ -f "$final_path/composer.json" ] then ynh_exec_warn_less ynh_composer_exec --commands="update" + # Update plugin-installer for Composer version 2.0 + ynh_exec_warn_less ynh_composer_exec --commands="require roundcube/plugin-installer:>=0.2.0" else # Install composer.json cp "$final_path/composer.json-dist" "$final_path/composer.json"