1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

Say no to all prompts during plugin update

Despite --all-yes --no-interaction, plugins can still ask questions,
which makes upgrade hang
Closes #52
This commit is contained in:
tituspijean 2021-01-23 18:57:25 +01:00
parent eecc806c0a
commit a65dbe555d

View file

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