emilien+debian at klein.st
Fri May 4 13:29:24 UTC 2012
2012/5/4 DL1SIG <dl1sig at hw42.dyndns.org>:
> I think using the alternatives system  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.