>> Indeed and it's not clear to me this is actually necessary.  Just
>> deliver the link through the prototype file and upgrade will
>> automatically move you forward to the latest version.
>> 
> Not exactly, right? I mean, which ever package is installed last will be the 
> default. I mean, if you install (assumeing) SUNWruby19u first and next 
> SUNWruby18u, then, /usr/bin/ruby would point to version 1.8.
> Only with the logic in postinstall would you be able to ensure that the 
> /usr/bin/ruby would point to the higest version of ruby.

Sorry, I wasn't particular clear.  I believe the right way of doing
this is to deliver a link which points to the highest version of Ruby
that's delivered in the WOS (or in the future, the OpenSolaris package
repository).  If someone wants to access a particular version of Ruby,
they'll need to access the specific version such as
/usr/ruby/1.9/bin/ruby.  So at any one time, only one package delivers
that link.

This is similar to the way Perl delivers /usr/bin/perl.

dsc

Reply via email to