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

Handle failing plugin upgrade

This commit is contained in:
tituspijean 2021-04-06 22:43:07 +02:00
parent 26e3ee6e05
commit eb595bbb97

View file

@ -143,7 +143,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"
yes N | ynh_exec_warn_less exec_as $app php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction yes N | ynh_exec_warn_less exec_as $app php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction || ynh_print_warn --message="Automatic plugin upgrade has failed, you can upgrade them from your Grav admin panel."
popd popd
#================================================= #=================================================