on master help sign in
Add a symlink from /usr/bin/node to /usr/bin/nodejs
16de3d1Tom McLaughlin
debian-bootstrap.sh+5
@@ -170,6 +170,11 @@ update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
170update-alternatives --install "/usr/bin/llc" "llc" "/usr/bin/llc-3.9" 50
170update-alternatives --install "/usr/bin/llc" "llc" "/usr/bin/llc-3.9" 50
171update-alternatives --install "/usr/bin/opt" "opt" "/usr/bin/opt-3.9" 50
171update-alternatives --install "/usr/bin/opt" "opt" "/usr/bin/opt-3.9" 50
172
172
173+# Made sure a "node" binary is in the path, as well as "nodejs".
174+# A historical naming collision on Debian means that the binary is called "nodejs",
175+# but some tools like tsc still expect "node" to exist.
176+ln -s /usr/bin/nodejs /usr/bin/node
177+
173# install ocilib dependencies then build and install ocilib
178# install ocilib dependencies then build and install ocilib
174cd /tmp \
179cd /tmp \
175 && wget https://storage.googleapis.com/oracle.fpinsight.com/instantClient/oracle-instantclient12.1-basiclite_12.1.0.2.0-2_amd64.deb \
180 && wget https://storage.googleapis.com/oracle.fpinsight.com/instantClient/oracle-instantclient12.1-basiclite_12.1.0.2.0-2_amd64.deb \