]>
Commit | Line | Data |
---|---|---|
b228e3a4 | 1 | --- elinks.orig/src/lowlevel/home.c Sun Oct 5 07:51:20 2003 |
2 | +++ elinks/src/lowlevel/home.c Sun Oct 5 12:25:50 2003 | |
3 | @@ -109,7 +109,7 @@ | |
4 | get_home(void) | |
5 | { | |
6 | unsigned char *home_elinks; | |
7 | - unsigned char *envhome = getenv("HOME"); | |
8 | + unsigned char *envhome = getenv("HOME_ETC") ? getenv("HOME_ETC") : getenv("HOME"); | |
9 | unsigned char *home = envhome ? stracpy(envhome) | |
10 | : elinks_dirname(path_to_exe); | |
11 | ||
12 | --- elinks/doc/man/man1/elinks.1.in.orig Thu Oct 23 13:07:37 2003 | |
13 | +++ elinks/doc/man/man1/elinks.1.in Thu Oct 23 13:12:03 2003 | |
14 | @@ -127,6 +127,10 @@ | |
15 | The location of the directory containing configuration files. | |
16 | If not set the default is \fI~/.elinks/\fR. | |
17 | .TP | |
18 | +\fB HOME_ETC \fR | |
19 | +If set the location of the directory containing configuration files | |
20 | +is \fI$HOME_ETC/.elinks/\fR instead of \fI~/.elinks/\fR. | |
21 | +.TP | |
22 | \fB WWW_HOME \fR | |
23 | Homepage location (as in \fBlynx(1)\fR) | |
24 | .TP |