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