[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-javascript-devel] Node.js and it's future in debian

2012/5/4 DL1SIG <dl1sig@hw42.dyndns.org>:
> Hi,
> I think using the alternatives system [1] could be a solution. I guess
> that node.js and axnode is not often used on the same system. Therefore
> in most of the cases the alternatives auto select mechanism will do the
> right thing.
> In the case that both programs are installed, the node symlink is auto
> selected by the priority so I would suggest to set the priority of
> axnode higher because it was first there.
> Anyone who want to have node.js as node can simply set the alternatives
> to manual selection.
> This approach can be combined with the long term goal to have no node
> binary. You make node a shell script which prints a warning and then
> calls the binary selected by the alternatives system.
> 73 DL1SIG
> 1. http://wiki.debian.org/DebianAlternatives

Seems to me like a good idea.

Reply to: