Add a symlink from /usr/bin/node to /usr/bin/nodejs

Fixes a problem on https://github.com/fpco/lts-haskell/issues/94
See https://github.com/yarnpkg/yarn/pull/1180 for more context on the
underlying problem
This commit is contained in:
Tom McLaughlin 2018-02-24 19:42:01 -08:00
parent 928633ef95
commit 16de3d1cc5

View File

@ -170,6 +170,11 @@ update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
update-alternatives --install "/usr/bin/llc" "llc" "/usr/bin/llc-3.9" 50
update-alternatives --install "/usr/bin/opt" "opt" "/usr/bin/opt-3.9" 50
# Made sure a "node" binary is in the path, as well as "nodejs".
# A historical naming collision on Debian means that the binary is called "nodejs",
# but some tools like tsc still expect "node" to exist.
ln -s /usr/bin/nodejs /usr/bin/node
# install ocilib dependencies then build and install ocilib
cd /tmp \
&& wget https://storage.googleapis.com/oracle.fpinsight.com/instantClient/oracle-instantclient12.1-basiclite_12.1.0.2.0-2_amd64.deb \