From 6060c1af5598a0a032c5a04cc944e7063c813f92 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 23 Jan 2024 15:19:35 +0100 Subject: [PATCH] Revert "`npm cache clean -f`" This reverts commit 9eea4a6f1c6717e4d0afc6a53c44f47094ace81d. --- scripts/install | 1 - scripts/upgrade | 3 --- 2 files changed, 4 deletions(-) diff --git a/scripts/install b/scripts/install index f4a9a1e..0785a12 100755 --- a/scripts/install +++ b/scripts/install @@ -55,7 +55,6 @@ pushd "$install_dir" ynh_use_nodejs 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 popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fae4721..73e3f39 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,9 +68,6 @@ 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 - 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 #=================================================