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:
parent
eecc806c0a
commit
a65dbe555d
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ find $final_path -type d -exec chmod +s {} \;
|
||||||
ynh_script_progression --message="Updating all plugins..." --weight=1
|
ynh_script_progression --message="Updating all plugins..." --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
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
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue