From dc4b2f4edafbecb6b5d9377ec6e4e24b939b46b1 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 73e3f39..97bfffa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,6 +68,8 @@ pushd "$install_dir" ynh_use_nodejs 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 popd #=================================================