On Tue, Dec 27, 2011 at 11:48 AM, Michael Hampicke <gentoo-u...@hadt.biz> wrote:
>> I thought the incantation is:
>>
>>   env-update && source /etc/profile
>>
>> has this changed?
>
> No it hasn't, just looked in the gentoo handbook.
> I never can remember what command to run first, so I execute both of
> them two times :)

Here's how I understand it:

1) env-update rebuilds /etc/environment from /etc/env.d/.
2) /etc/environment is sourced from /etc/profile, so
3) you get the updated /etc/environment when you source /etc/profile.

-- 
:wq

Reply via email to