forked from enlightenment/efl
/usr/local/share should also be in XDG_DATA_DIRS
SVN revision: 45496
This commit is contained in:
parent
18c8ea2e96
commit
6833eadf64
|
@ -126,11 +126,11 @@ efreet_data_dirs_get(void)
|
||||||
if (xdg_data_dirs) return xdg_data_dirs;
|
if (xdg_data_dirs) return xdg_data_dirs;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
snprintf(buf, 4096, "%s\\Efl;" PACKAGE_DATA_DIR ";/usr/share", getenv("APPDATA"));
|
snprintf(buf, 4096, "%s\\Efl;" PACKAGE_DATA_DIR ";/usr/share;/usr/local/share", getenv("APPDATA"));
|
||||||
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS", buf);
|
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS", buf);
|
||||||
#else
|
#else
|
||||||
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS",
|
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS",
|
||||||
PACKAGE_DATA_DIR ":/usr/share");
|
PACKAGE_DATA_DIR ":/usr/share:/usr/local/share");
|
||||||
#endif
|
#endif
|
||||||
return xdg_data_dirs;
|
return xdg_data_dirs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue