Re: [gentoo-user] Problem with modifying PATH with a file in env.d

2008-05-31 Thread Stroller


On 31 May 2008, at 21:01, Marc Blumentritt wrote:


Hi,

I want to modify PATH for every user by adding this file in /etc/ 
env.d:


hive env.d # cat 99busybox
PATH=/bblinks
hive env.d # ls -l 99busybox
-rw-r--r-- 1 root root 14 2008-05-31 21:46 99busybox

Neither env-update && . /etc/profile nor a reboot adds /bblinks to  
my PATH.


Any advice?


$ grep ^PATH /etc/env.d/*
/etc/env.d/00basic:PATH="/opt/bin"
/etc/env.d/05gcc-i386-pc-linux-gnu:PATH="/usr/i686-pc-linux-gnu/gcc- 
bin/4.1.1"
/etc/env.d/05gcc-i686-pc-linux-gnu:PATH="/usr/i686-pc-linux-gnu/gcc- 
bin/4.1.2"
/etc/env.d/20java:PATH=/opt/sun-jdk-1.4.2.17/bin:/opt/sun- 
jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws

$ grep PATH .*
.bashrc:export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH}"
$

The path in my .bashrc adds to the existing path, but maybe you have  
something else there?


Stroller.
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Problem with modifying PATH with a file in env.d

2008-05-31 Thread Marc Blumentritt

Hi,

I want to modify PATH for every user by adding this file in /etc/env.d:

hive env.d # cat 99busybox
PATH=/bblinks
hive env.d # ls -l 99busybox
-rw-r--r-- 1 root root 14 2008-05-31 21:46 99busybox

Neither env-update && . /etc/profile nor a reboot adds /bblinks to my PATH.

Any advice?
Marc

--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Problem with modifying PATH with a file in env.d

2008-05-31 Thread Marc Blumentritt

Hi,

I want to modify the PATH variable for every user by adding this file in 
/etc/env.d :


hive env.d # cat 99busybox
PATH=/bblinks
hive env.d # ls -l 99busybox
-rw-r--r-- 1 root root 14 2008-05-31 21:46 99busybox

The dir /bblinks does exist, but my PATH variable is not changed. I did 
run env-update && . /etc/profile : No change, reboot: no change.


What am I doing wrong?

Thanks for any advice.
Marc


--
gentoo-user@lists.gentoo.org mailing list