From aa44a41477f8ddb57eca497c94ab4239b0ea5640 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Jul 2022 01:08:17 +0200 Subject: [PATCH] Fix upgrade from same version --- scripts/install | 2 -- scripts/upgrade | 2 -- 2 files changed, 4 deletions(-) diff --git a/scripts/install b/scripts/install index c9670b5..c512970 100644 --- a/scripts/install +++ b/scripts/install @@ -117,8 +117,6 @@ pushd "$final_path" ynh_use_nodejs ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm ci --production - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean --force popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 431fd9b..232bc73 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -107,8 +107,6 @@ then ynh_use_nodejs ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm ci --production - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm cache clean --force popd fi