Re: multiarch status update
On 5/16/06, Henning Makholm <email@example.com> wrote:
Scripsit "Olaf van der Spek" <firstname.lastname@example.org>
> Not true. For example, the kernel could be changed to pick the right
> Python binary if it sees #!/usr/bin/python.
There is already a hook for doing that that in the kernel; no patching
See the system calls link(2) and symlink(2). The (Essential) coreutils
package provides a userspace binary /bin/ln which makes these calls
available to shell scripts.
That's great. Could you tell me how to use those so that script A uses
python 2.3 and script B uses python 2.4 without modifying the scripts?