From 82bbed0b5a90e30c68ec52b77996a23bb269c509 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:18:12 +0200 Subject: [PATCH] fix npm --- scripts/install | 4 ++-- scripts/remove | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/scripts/install b/scripts/install index 5f4a691..443d9db 100755 --- a/scripts/install +++ b/scripts/install @@ -17,10 +17,10 @@ ynh_script_progression --message="Installing dependencies..." --weight=5 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version # Upgrade NPM -ynh_npm install --global npm@latest +ynh_npm install --global npm@6.14.18 # Install Yarn -ynh_npm install --global yarn +# ynh_npm install --global yarn #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE diff --git a/scripts/remove b/scripts/remove index 689e848..cf0770e 100755 --- a/scripts/remove +++ b/scripts/remove @@ -51,14 +51,6 @@ ynh_script_progression --message="Removing various files..." --weight=1 # Remove the log files ynh_secure_remove --file="/var/log/$app" -#================================================= -# REMOVE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service remove $app --log="/var/log/$app/$app.log" - - #================================================= # END OF SCRIPT #=================================================