From f28e087a309179ebb51b46fce21e8b80b861ef00 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 26 Jun 2022 08:59:12 +0200 Subject: [PATCH] Fix --- scripts/install | 3 +-- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 1592b57..8143fd6 100644 --- a/scripts/install +++ b/scripts/install @@ -126,8 +126,7 @@ ynh_script_progression --message="Building $app... (this will take some time and 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 run clean && webpack + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 7f114f6..d65b7d7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,8 +103,8 @@ then pushd "$final_path" ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install - ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm run build + 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 popd fi