From f55ce3b302fc6a625eaa1a4bb45fbb50b37e237d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 19 Jul 2021 08:55:17 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index dd0fcd5..61d2302 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -186,9 +186,9 @@ chmod 644 "/etc/cron.d/$app" # Run composer pushd "$final_path" - php$phpversion bin/composer.phar install --no-dev - bin/console dbstructure update - bin/console config system addon ldapauth + ynh_exec_as "$app" php$phpversion bin/composer.phar install --no-dev + ynh_exec_as "$app" bin/console dbstructure update + ynh_exec_as "$app" bin/console config system addon ldapauth popd #=================================================