nodever defaults to v8.x

Issue #9 resolved
Aaron Bartell created an issue

The nodever spec file defaults to Node.js v8.x even when installing package nodejs10.

Here is a snippet from the spec file:

%post
if [ ! -e "/QOpenSys/pkgs/bin/node" ] ; then
  ln -sf /QOpenSys/pkgs/lib/nodejs8/bin/node /QOpenSys/pkgs/bin/node
fi
if [ ! -e "/QOpenSys/pkgs/bin/npm" ] ; then
  ln -sf /QOpenSys/pkgs/lib/nodejs8/bin/npm /QOpenSys/pkgs/bin/npm
fi
const rant = true;

FWIW, I really wish that installing nodejs would just grab the latest version and put it in /QOpenSys/pkgs/bin. If somebody wants a specific version of Node.js then they can do yum install nodejs-8.9.3.

rant = false;

Comments (1)

  1. Log in to comment