]> git.pld-linux.org Git - packages/msmtp.git/blame - msmtp-home_etc.patch
- fix-info-dir is not called so!. fix it. adapterize!
[packages/msmtp.git] / msmtp-home_etc.patch
CommitLineData
348710f2
MWP
1diff -uNr msmtp-1.4.2.orig/src/os_env.c msmtp-1.4.2/src/os_env.c
2--- msmtp-1.4.2.orig/src/os_env.c 2005-07-14 21:41:38.000000000 +0200
3+++ msmtp-1.4.2/src/os_env.c 2005-07-14 21:39:32.000000000 +0200
4@@ -260,6 +260,9 @@
5
0376df79 6 char *home;
bf8812b9 7
8+ home = getenv("HOME_ETC");
0376df79 9+ if (!home)
348710f2
MWP
10+
11 if ((home = getenv("HOME")))
12 {
13 home = xstrdup(home);
14@@ -275,7 +278,9 @@
15
16 char *home;
17 struct passwd *pw;
18-
19+
20+ home = getenv("HOME_ETC");
21+ if (!home)
22 if ((home = getenv("HOME")))
f66b1c44 23 {
348710f2 24 home = xstrdup(home);
This page took 0.253083 seconds and 4 git commands to generate.