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;
|
||||
|
||||
#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);
|
||||
#else
|
||||
xdg_data_dirs = efreet_dirs_get("XDG_DATA_DIRS",
|
||||
PACKAGE_DATA_DIR ":/usr/share");
|
||||
PACKAGE_DATA_DIR ":/usr/share:/usr/local/share");
|
||||
#endif
|
||||
return xdg_data_dirs;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue