forked from enlightenment/enlightenment
forc /usr/share and /usr/local/share into xdg data dirs too if not set.
SVN revision: 73079
This commit is contained in:
parent
ecddd2391f
commit
c13343daee
|
@ -134,7 +134,10 @@ _xdg_data_dirs_augment(void)
|
|||
}
|
||||
}
|
||||
else
|
||||
e_util_env_set("XDG_DATA_DIRS", newpath);
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "%s:/usr/local/share:/usr/share", newpath);
|
||||
e_util_env_set("XDG_DATA_DIRS", buf);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue