Yann Dirson wrote:
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 ?

Good idea Wolfgang.

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,


--
  .''`.
 : :' :rnaud
 `. `'
   `-
Java Trap: http://www.gnu.org/philosophy/java-trap.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to