This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: problems with XFree
- From: Robert Collins <robert dot collins at syncretize dot net>
- To: cygwin-xfree at cygwin dot com
- Date: 25 Jul 2002 21:54:30 +1000
- Subject: Re: problems with XFree
- References: <20020725114603.58028.qmail@web21006.mail.yahoo.com>
- Reply-to: cygwin-xfree at cygwin dot com
On Thu, 2002-07-25 at 21:46, Nicholas Wourms wrote:
> Jehan,
>
> As a rule of thumb, packages should *never* modify the /etc/profile
> script (even if you do back it up). This is a big no-no, as most
> *nix people would tell you. If you insist on getting into a
> discussion on why this is, then so be it. Instead, create 2 scripts
> (a csh and a sh) and drop them into the /etc/profile.d/ directory.
> This way we play it safe and every one is happy. Also, your scripts
> should check to see if the path has already been set, if it has, then
> don't set it again. Remeber, the more entries in the path, the
> slower Cygwin will operate.
Yup. The previous thread ended up with a directory test in /etc/profile
(to catch all shell) and foundered on how to issue a new /etc/profile to
the users.
Rob