public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Env-update missing
Date: Tue, 27 Dec 2011 11:57:18 -0500	[thread overview]
Message-ID: <CA+czFiBfwX468z9=bbO1x0z9kOgD8yoBGF-iS5sTHSn_yZHvdQ@mail.gmail.com> (raw)
In-Reply-To: <4EF9F6D6.9060000@hadt.biz>

On Tue, Dec 27, 2011 at 11:48 AM, Michael Hampicke <gentoo-user@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	other threads:[~2011-12-27 16:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27  5:43 [gentoo-user] Env-update missing roger
2011-12-27  8:42 ` Michael Hampicke
2011-12-27 11:45   ` Mick
2011-12-27 12:31     ` Michael Mol
2011-12-27 13:20       ` Dale
2011-12-27 16:48     ` Michael Hampicke
2011-12-27 16:57       ` Michael Mol [this message]
2011-12-27 20:39         ` Neil Bothwick
2011-12-27 19:08       ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+czFiBfwX468z9=bbO1x0z9kOgD8yoBGF-iS5sTHSn_yZHvdQ@mail.gmail.com' \
    --to=mikemol@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox