On Sat, Jul 09, 2005 at 02:31:12PM +0200, Wolfgang Baer wrote: > This is just an idea and I don't know if this is allowed: > > /usr/bin/jar -> /etc/alternatives/jar > /etc/alternatives/jar -> /etc/alternatives/kaffe-system/bin/jar > /etc/alternatives/kaffe-system -> /usr/lib/kaffe/{jthreads,pthreads} > > This would only need 3 dereferences. Is it allowed to link an > alternative to another alternative ?
That looks like a good idea. I feared the /etc/alternatives/ directory would be considered internal to the alternatives system (in which case we would have to rely on update-alternative itself to handle the cascading), but since it is in /etc and not in /var, it may be allowed to reference it directly. OTOH it could have made sense to have update-alternative detect it will be pointing to another alternative, and short-circuit one link by itself. Best regards, -- Yann Dirson <[EMAIL PROTECTED]> | Debian-related: <[EMAIL PROTECTED]> | Support Debian GNU/Linux: | Freedom, Power, Stability, Gratis http://ydirson.free.fr/ | Check <http://www.debian.org/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]