From ddf075796c6f869ac47d5e3c5f6e8d3d85a732d7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 8 Mar 2022 20:27:03 +0100 Subject: [PATCH] fix cache clean --- scripts/install | 4 ++-- scripts/upgrade | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 61ad5ec..b8f437d 100644 --- a/scripts/install +++ b/scripts/install @@ -107,8 +107,8 @@ ynh_script_progression --message="Installing TimeOff..." pushd $final_path ynh_use_nodejs - ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>/dev/null - ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null + ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>/dev/null + #ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 094c020..705d747 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,7 +114,7 @@ then pushd $final_path ynh_use_nodejs ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install 2>/dev/null - ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null + #ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean 2>/dev/null ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production $ynh_npm run-script db-update popd fi