From 77c19df3572d8bbee095da35b31bf272fbdcb5d2 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 8 Feb 2019 23:44:30 +0100 Subject: [PATCH] remove $PATH --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index f6ba20e..9191b79 100644 --- a/scripts/install +++ b/scripts/install @@ -185,10 +185,10 @@ mkdir -p "$final_path/db" chown -R "$app":"$app" "$final_path" pushd $final_path ynh_use_nodejs - sudo -u $app env PATH=$PATH:$nodejs_path npm add hoek@^4.2.1 --save --production - sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node - sudo -u $app env PATH=$PATH:$nodejs_path npm install --production - sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix + sudo -u $app env PATH=$nodejs_path npm add hoek@^4.2.1 --save --production + sudo -u $app env PATH=$nodejs_path npm install ts-node + sudo -u $app env PATH=$nodejs_path npm install --production + sudo -u $app env PATH=$nodejs_path npm audit fix popd #=================================================