Mailinglist Archive: opensuse (1839 mails)

< Previous Next >
Re: [opensuse] Help: desktop completely gone!
  • From: Oliver Kullmann <O.Kullmann@xxxxxxxxxxxxx>
  • Date: Thu, 23 Sep 2010 09:19:10 +0100
  • Message-id: <20100923081910.GB14449@xxxxxxxxxxxxxxxxxxxxx>
Thanks for the explanation! (I didn't know that.)

Oliver

On Wed, Sep 22, 2010 at 03:52:35PM -0500, David C. Rankin wrote:
On 09/21/2010 03:30 PM, Oliver Kullmann wrote:
I see; works now. I assumed that profile.local would be used instead of
profile
(reading through the shell-script and finding out what happens can be done,
but is
not such a trivial matter; I would think explaining in profile, that
profile.local should only
contain the additional bits is a little thing, but can be quite useful).

Thanks!

Yep, unless you know some sh/bash that '.' = source, I can see how it would be
quite confusing... The line in /etc/profile is:

test -s /etc/profile.local && . /etc/profile.local

where:

test -s = test if FILE exists and has a size greater than zero
&& = if test -s completes successfully, then do . /etc/profile.local
. /etc/profile.local = source (read) /etc/profile.local into /etc/profile.

Glad you got it sorted.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >