diff --git a/scripts/upgrade b/scripts/upgrade index 0f3ce37..18104cf 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -98,8 +98,8 @@ then # Remove the tmp directory securely ynh_secure_remove --file="$tmpdir" - pushd "$final_path/console" - ynh_exec_as $app core:update + pushd "$final_path" + ynh_exec_as $app ./console core:update popd fi