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

Make sure self-upgrade is run by system user, not root

This commit is contained in:
tituspijean 2021-03-07 10:37:31 +01:00
parent 1857df784c
commit e5a179b915

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 yes N | php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction
exec_as $app yes N | exec_as $app php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction
popd
#=================================================