Lines 5-11
Link Here
|
5 |
|
5 |
|
6 |
if (!data_dirs || !data_dirs[0]) |
6 |
if (!data_dirs || !data_dirs[0]) |
7 |
- data_dirs = "/usr/local/share/:/usr/share/"; |
7 |
- data_dirs = "/usr/local/share/:/usr/share/"; |
8 |
+ data_dirs = "/usr/local/share/"; |
8 |
+ data_dirs = "%%LOCALBASE%%/share/"; |
9 |
|
9 |
|
10 |
data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0); |
10 |
data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0); |
11 |
#endif |
11 |
#endif |
Lines 14-20
Link Here
|
14 |
|
14 |
|
15 |
if (!conf_dirs || !conf_dirs[0]) |
15 |
if (!conf_dirs || !conf_dirs[0]) |
16 |
- conf_dirs = "/etc/xdg"; |
16 |
- conf_dirs = "/etc/xdg"; |
17 |
+ conf_dirs = "/usr/local/etc/xdg:/etc/xdg"; |
17 |
+ conf_dirs = "%%LOCALBASE%%/etc/xdg:/etc/xdg"; |
18 |
|
18 |
|
19 |
conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0); |
19 |
conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0); |
20 |
#endif |
20 |
#endif |