]> git.pld-linux.org Git - packages/links2.git/blame - links2-config-dirs.patch
- updated for 2.1pre17
[packages/links2.git] / links2-config-dirs.patch
CommitLineData
1fba6328
JB
1--- links-2.1pre16/default.c.orig 2005-01-22 21:51:53.000000000 +0100
2+++ links-2.1pre16/default.c 2005-01-28 20:47:14.138719472 +0100
3@@ -312,10 +312,10 @@
6a63603f 4 sleep(3);
5 mem_free(home_links);
6 home_links = stracpy(home);
7- add_to_strn(&home_links, ".links");
8+ add_to_strn(&home_links, ".links2");
9 }
10 mem_free(config_dir);
11- } else add_to_strn(&home_links, ".links");
12+ } else add_to_strn(&home_links, ".links2");
13 if (stat(home_links, &st)) {
1fba6328 14 #ifdef HAVE_MKDIR
6a63603f 15 if (!mkdir(home_links, 0777)) goto home_creat;
1fba6328 16@@ -327,7 +327,7 @@
6a63603f 17 first_failed:
18 mem_free(home_links);
19 home_links = stracpy(home);
20- add_to_strn(&home_links, "links");
21+ add_to_strn(&home_links, "links2");
22 if (stat(home_links, &st)) {
1fba6328 23 #ifdef HAVE_MKDIR
6a63603f 24 if (!mkdir(home_links, 0777)) goto home_creat;
1fba6328
JB
25@@ -390,7 +390,7 @@
26 void load_config(void)
6a63603f 27 {
1fba6328
JB
28 #ifdef SHARED_CONFIG_DIR
29- load_config_file(SHARED_CONFIG_DIR, "links.cfg");
30+ load_config_file(SHARED_CONFIG_DIR, "links2/links.cfg");
31 #endif
6a63603f 32 load_config_file(links_home, "links.cfg");
33 load_config_file(links_home, "html.cfg");
1fba6328
JB
34--- links-2.1pre16/links.1.orig 2005-01-22 21:51:55.000000000 +0100
35+++ links-2.1pre16/links.1 2005-01-28 20:47:50.217234704 +0100
36@@ -303,7 +303,7 @@
6a63603f 37
38 .SH FILES
39 .TP
1fba6328
JB
40-.IP "~/.links/links.cfg"
41+.IP "~/.links2/links.cfg"
6a63603f 42 Per-user configfile, automatically created by
43 .B links.
44 .SH PLATFORMS
This page took 0.035126 seconds and 4 git commands to generate.