From 12f480dc1e068295c39a5c6626a5be67bd6015d7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 2 Feb 2019 20:52:46 +0100 Subject: [PATCH] change upgrade --- scripts/upgrade | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index faa00c8..b632330 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -134,9 +134,7 @@ chown -R "$app":"$app" "$final_path" pushd $final_path ynh_use_nodejs -sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save -sudo -u $app env PATH=$PATH:$nodejs_path npm install typescript@>=2.0 --save -sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node +sudo -u $app env PATH=$PATH:$nodejs_path npm update sudo -u $app env PATH=$PATH:$nodejs_path npm install sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix popd