Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
install-node: Install npm and npx symlinks.
Anders Kaseorgde5282d2cfa5
diff --git a/scripts/lib/install-node b/scripts/lib/install-nodeindex 798a8946ec6..4f78d5f7ca9 100755--- a/scripts/lib/install-node+++ b/scripts/lib/install-node@@ -55,6 +55,8 @@ if [ "$current_node_version" != "v$node_version" ] || ! [ -L "$node_wrapper_path# Install node symlink to /usr/local/binln -nsf "$NODE_BIN" /usr/local/bin/node+ ln -nsf "$(dirname "$NODE_BIN")/npm" /usr/local/bin/npm+ ln -nsf "$(dirname "$NODE_BIN")/npx" /usr/local/bin/npxfi# Work around the fact that apparently sudo doesn't clear the HOME