diff --git a/scripts/upgrade b/scripts/upgrade index 578ddde..95bea49 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -133,9 +133,9 @@ 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 update --production - 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 update --production + sudo -u $app env PATH=$nodejs_path npm install --production + sudo -u $app env PATH=$nodejs_path npm audit fix popd #=================================================