npm2debian
npm2debian copied to clipboard
Shebang line "#!/usr/bin/env node" trouble
In Debian sid, node is called nodejs instead, see:
$ npm2debian
/usr/bin/env: node: No such file or directory
$ nodejs /usr/local/bin/npm2debian
Missing required argument:
PKG : Package (required)
My guess is that it's the case because /usr/sbin/node is taken by Amateur Packet Radio Node program already (see https://packages.debian.org/wheezy/all/node/filelist).
Please update the shebang line accordingly.
@hartwork It is still called node elsewhere. So what should we do?
Does npm just extract files or can it be made to run a patch patching the shebang line if on debian?
Or: You could make a shell wrapper npm2debian-node that's calling nodejs if on Debian or node otherwise. What do you think?
A wrapper is a good idea