forc /usr/share and /usr/local/share into xdg data dirs too if not set.

SVN revision: 73079
This commit is contained in:
Carsten Haitzler 2012-06-30 06:57:49 +00:00
parent ecddd2391f
commit c13343daee
1 changed files with 4 additions and 1 deletions

View File

@ -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