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

Merge pull request #111 from YunoHost-Apps/fix-plugin-upgrade

Fix plugin upgrade
This commit is contained in:
tituspijean 2022-05-10 07:01:48 +02:00 committed by GitHub
commit 63cd775a56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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