Re: /etc/profile.d
On Sun, 24 Oct 1999, Marek Habersack wrote:
> * Piotr Roszatycki said:
> > I noticed an /etc/profile.d directory in RH distribution.
> >
> > I think it is good idea. Some packages require to set correct environment
> > variables, etc.
> >
> > i.e qt1 requires QTDIR=/usr/lib/qt1g variable. It could be set by
> > /etc/profile.d/qt1g.sh conffile.
> Doesn't the Debian policy forbid messing with the user's environment?
Some programs outside Debian distribution located at /usr/local/... ditectory
require modified user environment.
Manually modification of /etc/profile is annoying.
> > Another example - a choise of default language in /etc/profile.d/lang.sh file.
> It can be set in /etc/environment
Yes, but only manually.
--
Piotr "Dexter" Roszatycki
mailto:dexter@fnet.pl
Reply to: