]> git.pld-linux.org Git - packages/elinks.git/blame - elinks-home_etc.patch
- updated for 0.11.4rc1
[packages/elinks.git] / elinks-home_etc.patch
CommitLineData
03fc70be
AG
1diff -burN elinks-0.11.0.orig/doc/man/man1/elinks.1.in elinks-0.11.0/doc/man/man1/elinks.1.in
2--- elinks-0.11.0.orig/doc/man/man1/elinks.1.in 2006-01-01 21:59:35.921524250 +0100
3+++ elinks-0.11.0/doc/man/man1/elinks.1.in 2006-01-01 22:01:19.884021500 +0100
bcd50ff0 4@@ -320,6 +320,12 @@
5 ~/.
6 .RE
7 .PP
03fc70be 8+HOME_ETC
bcd50ff0 9+.RS 4
03fc70be
AG
10+If set the location of the directory containing configuration files
11+is \fI$HOME_ETC/.elinks/\fR instead of \fI~/.elinks/\fR.
bcd50ff0 12+.RE
13+.PP
03fc70be 14 WWW_HOME
bcd50ff0 15 .RS 4
16 Homepage location (as in
03fc70be
AG
17diff -burN elinks-0.11.0.orig/src/config/home.c elinks-0.11.0/src/config/home.c
18--- elinks-0.11.0.orig/src/config/home.c 2006-01-01 21:59:35.845519500 +0100
19+++ elinks-0.11.0/src/config/home.c 2006-01-01 22:00:36.489309500 +0100
b228e3a4 20@@ -109,7 +109,7 @@
21 get_home(void)
22 {
23 unsigned char *home_elinks;
24- unsigned char *envhome = getenv("HOME");
25+ unsigned char *envhome = getenv("HOME_ETC") ? getenv("HOME_ETC") : getenv("HOME");
26 unsigned char *home = envhome ? stracpy(envhome)
03fc70be 27 : elinks_dirname(program.path);
b228e3a4 28
This page took 0.632998 seconds and 4 git commands to generate.