Package: gdm
Version: 2.14.5-1
When logging in from the command line, ~/.bash_profile executes as
expected. A clause such as:
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
export PATH
fi
does what it's expected to.
But if /etc/rc2.d starts gdm at boot time, and the same user logs in
from the graphic login screen, and starts an xterm, it's seen that
~/.bash_profile has not executed. To get the user's ~/bin directory added
to the PATH, this script fragment must be put into ~/.bashrc instead. But
this has an undesirable side effect. It edits PATH repeatedly, whenever a
shell starts a new shell, so that multiple copies of ~/bin: are added to the
front of PATH.
This is apparently a long-standing problem. In Libranet 2.7, which
is a derivative of Woody, this script fragment is found in ~/.bashrc.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]