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

Fix plugin upgrade

This commit is contained in:
tituspijean 2022-05-09 22:38:11 +02:00
parent 447b88ebcf
commit a1a7da4879
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -177,7 +177,7 @@ find "$final_path" -type d -exec chmod +s {} \;
ynh_script_progression --message="Updating all plugins..." --weight=1
pushd "$final_path"
ynh_exec_warn_less 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."
ynh_exec_warn_less yes N | ynh_exec_warn_less ynh_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
#=================================================