From 885b4b1e418073cb0e05641da57a5dba6b093bce Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 22 Dec 2020 11:33:18 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 363cc15..2838640 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -143,10 +143,7 @@ ynh_script_progression --message="Installating composer and dependencies..." ynh_install_composer --phpversion="$phpversion" --workdir="$final_path" if [[ -f "$final_path/config/config.ini.php" ]]; then - pushd "$final_path" - chown -R $app:$app $final_path/tmp/* - ynh_exec_as $app ./console core:update - popd + php$phpversion $final_path/console core:update fi #=================================================