Mailinglist Archive: opensuse (1839 mails)

< Previous Next >
Re: [opensuse] Help: desktop completely gone!
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 22 Sep 2010 15:52:35 -0500
  • Message-id: <4C9A6C93.70501@xxxxxxxxxxxxxxxxxx>
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.

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups