From 30db92700c6ffdf6320375037249f12b5bc229b1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 26 Dec 2021 19:54:41 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) 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"