From 81860ac58862fb23e10150c0915becbf3c0e39f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 9 Sep 2023 18:00:51 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 511f98a..9c0d412 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -116,7 +116,9 @@ then ynh_setup_source --dest_dir="$final_path" --keep="config/packages/local.yaml var/invoices/ var/data/" pushd "$final_path" ynh_exec_as $app php$YNH_PHP_VERSION bin/console cache:clear --env=prod - popd + popd + + #ynh_secure_remove --file="$final_path/var/cache/prod" fi chmod 750 "$final_path"