From cc4d70a11a79c64a068ac7523e88bcf9c0335ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:26:02 +0100 Subject: [PATCH] FIx --- scripts/install | 1 - scripts/upgrade | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 3b46884..cc2cda1 100644 --- a/scripts/install +++ b/scripts/install @@ -135,7 +135,6 @@ pushd "$final_path" #ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build - #bin/setup popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 9c81389..874501f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -154,7 +154,8 @@ then pushd "$final_path" ynh_secure_remove /usr/local/share/.cache/yarn ynh_use_nodejs - bin/setup + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build popd fi