From e6ff7a9433006e355dfe586d09b36a72d392ed77 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 23 Jan 2024 14:58:49 +0100 Subject: [PATCH] Delete `$install_dir/.cache` present in older versions --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 93b4459..de22843 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,6 +69,8 @@ pushd "$install_dir" ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --production ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm cache clean -f + # Residue of old versions caching + ynh_exec_warn_less ynh_exec_as $app rm -rf .cache popd #=================================================