1 |
On Thursday 28 November 2002 01:50, messdev wrote: |
2 |
> Why exporting global variables' mechanism is so complicated? |
3 |
|
4 |
Is it? |
5 |
|
6 |
> It is not very ,,user friendly'' to edit /etc/env.d/00basic to change some |
7 |
> global variables |
8 |
|
9 |
Well, where's the problem? Instead of editing one file called /etc/profile you |
10 |
edit another file called /etc/env.d/something. How the mechanism of getting |
11 |
it into your shells environment works doesn't have to bother you. |
12 |
|
13 |
> It's not intuitively. Or maybe there is some simpler way to edit it? |
14 |
|
15 |
Well as said, what's not simple in editing _one_ file? You've always edited |
16 |
_one_ file. |
17 |
|
18 |
Just think about what is achieved by this mechanism. It's a simple and good |
19 |
solution to a problem. And normal users usually don't change global settings |
20 |
anyway, but use their own .profile which is not affected by portage's |
21 |
handling of global profile entries. As a sysadmin you will appreciate |
22 |
gentoo's handling as packages can add to the global settings without messing |
23 |
around with the actual file. |
24 |
|
25 |
|
26 |
Alex |
27 |
|
28 |
-- |
29 |
"They that can give up essential liberty to obtain a little temporary safety |
30 |
deserve neither liberty nor safety." |
31 |
Benjamin Franklin |
32 |
|
33 |
|
34 |
-- |
35 |
gentoo-dev@g.o mailing list |