From 7534ce35cf4fee80feb9832778efa3092d4bb6fa Mon Sep 17 00:00:00 2001 From: Hadrien <26697460+ketsapiwiq@users.noreply.github.com> Date: Wed, 24 Jan 2024 12:52:21 +0100 Subject: [PATCH] `ynh_secure_remove` Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 97bfffa..7fd4897 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,7 +69,7 @@ pushd "$install_dir" ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --omit=dev ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist # Residue of old versions caching - ynh_exec_warn_less ynh_exec_as $app rm -rf .cache + ynh_secure_remove $install_dir/.cache popd #=================================================