Hasn't it been pointed out several times that doing all this linking in
postinstall scripts is incorrect?  Links should be delivered as part of the
package itself, with the package delivering the latest version of Ruby (or
whatever component) delivering the symlinks to its version.

If you insist on doing the wrong thing, please at least use installf, or go
the distance and make sure that when the 1.8 links are removed and links
are restored to the previously added version (i.e., keep a stack of the
ruby versions as they were installed and ensure that the links are always
correct).  As it is, you've only done part of what you wanted to do.  (But
my suggestion is still to ditch that idea entirely.)

Danek

Reply via email to