Mailinglist Archive: opensuse (2700 mails)
| < Previous | Next > |
Re: [SLE] /etc/profile.local twice on 9.3?
- From: Matt Hurd <matt.hurd@xxxxxxxxx>
- Date: Wed, 20 Jul 2005 16:38:22 +1000
- Message-id: <8f48d4a0507192338274a1b93@xxxxxxxxxxxxxx>
Thanks Anders that did the trick nicely.
>On 20/07/05, Anders Johansson <andjoh@xxxxxxxxxx> wrote:
<snip>
> Either configure your terminal to not be a login shell (it probably shouldn't
> be anyway),
Don't know how to do that, it is just "out of the box" SuSE... standard.
or do in profile.local what they do in /etc/profile, and enclose
> your export line in "if -z $PROFILE_READ; then ..... fi"
That did it nicely, small typo, the full thing for profile.local reads:
if test -z "$PROFILEREAD" ; then
export PATH=$PATH:/extra_path
fi
Thanks again,
Matt.
linux noobie
matthurd@xxxxxxx
>On 20/07/05, Anders Johansson <andjoh@xxxxxxxxxx> wrote:
<snip>
> Either configure your terminal to not be a login shell (it probably shouldn't
> be anyway),
Don't know how to do that, it is just "out of the box" SuSE... standard.
or do in profile.local what they do in /etc/profile, and enclose
> your export line in "if -z $PROFILE_READ; then ..... fi"
That did it nicely, small typo, the full thing for profile.local reads:
if test -z "$PROFILEREAD" ; then
export PATH=$PATH:/extra_path
fi
Thanks again,
Matt.
linux noobie
matthurd@xxxxxxx
| < Previous | Next > |