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
