[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tsp-devel] Symlink in opt directory

From: Eric Noulard
Subject: Re: [Tsp-devel] Symlink in opt directory
Date: Thu, 19 Apr 2007 22:24:27 +0200

2007/4/19, Olivier BONHOMME <address@hidden>:

In order to replace the TSP version 0.7 by the last 0.8.3-rc1 using the
RPM generated , I saw that TSP is installed in the /opt/tsp-<version>
directory. On all the systems where TSP is installed, we added a symlink
from /opt/tsp to /opt/tsp-<version> where version is the current version
used by the developpers and we put the /opt/tsp/bin directory in the
PATH variable.

I think it would be interesting to add this symlink in the template SPEC
file used for the RPM generation in order to be sure that when we change
the RPM, the new TSP version installed is used.

Yes it is a good idea.
Nevertheless there is already some PATH setup automatically done
by the TSP rpm, you should have


files installed.

Those file contains proper setup for TSP PATH for any user.
Nevertheless using this the PATH will be updated on next login.

The symlink solution is a good one, but you still have to update the path.
I think I may like the symlink to be setup by update-alternatives(8)
using update-alternatives we should be able to:

- setup link directly in /usr/bin so that we won't need PATH modification
- install several tsp versions alternatives (for testing purpose)
 even if one version is installed with RPM and another with make install

Whatever the solution you will try I invite you to submit a patch :))
Note that update-alternatives should be available on a wide range
of linux distribution including Fedora/RedHat, Mandriva and Debian-based


reply via email to

[Prev in Thread] Current Thread [Next in Thread]