From a65dbe555d70703991e1d2bc148d8540ebf6d23b Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 23 Jan 2021 18:57:25 +0100 Subject: [PATCH] Say no to all prompts during plugin update Despite --all-yes --no-interaction, plugins can still ask questions, which makes upgrade hang Closes #52 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index f043685..39bdcf2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -163,7 +163,7 @@ find $final_path -type d -exec chmod +s {} \; ynh_script_progression --message="Updating all plugins..." --weight=1 pushd "$final_path" - exec_as $app php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction + exec_as $app yes N | php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction popd #=================================================