Hi Oliver,

Am 13.02.2014 um 15:14 schrieb Oliver Kiddle <[email protected]>:
>> I now made tclsh8.5 now a slave link in alternatives. However, the current
>> alternatives implementation is broken and cannot set back to 32 bit without
>> bailing out and only setting tclsh8.5 correctly. Going back to RedHat 
>> alternatives
>> is a thing being on my todo list for a long time, maybe this is incentive 
>> enough
>> to fix it. New packages for tcl are available btw., please try.
> 
> I get the following when trying to set it to 32-bit. Is this what you
> mean about the current alternatives being broken?
> 
> # /opt/csw/sbin/alternatives --config tclsh
> Chooser for software 'tclsh'
> 640 /opt/csw/bin/tclsh /opt/csw/bin/sparcv9/tclsh
> 320 /opt/csw/bin/tclsh /opt/csw/bin/sparcv8plus/tclsh
> Input the priority number for your desired choice, or 0 to quit
> 320
> ERROR: set_link needs 3 arguments
> /opt/csw/sbin/alternatives[54]: shift: bad number

Yes, exactly. Same for alternatives —select tclsh /opt/csw/bin/sparcv8plus/tclsh
The current implementation is a NFS-shared-/opt/csw-friendly reimplementation
in ksh of the redhat alternatives, but lacking the slave-group syntax. Maybe
you as shell-superguru can quickly fix it?


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to