termux-packages/x11-packages/shared-mime-info/update-mime-database.c.patch

12 lines
408 B
Diff
Raw Normal View History

2020-12-08 12:21:22 +01:00
--- shared-mime-info/src/update-mime-database.c
+++ shared-mime-info/src/update-mime-database.c
2018-09-10 00:42:26 +02:00
@@ -2168,7 +2168,7 @@
env = getenv("XDG_DATA_DIRS");
if (!env)
- env = "/usr/local/share/"PATH_SEPARATOR"/usr/share/";
+ env = "@TERMUX_PREFIX@/share/"PATH_SEPARATOR"@TERMUX_PREFIX@/local/share/";
dirs = g_strsplit(env, PATH_SEPARATOR, 0);
g_return_if_fail(dirs != NULL);
for (n = 0; dirs[n]; n++)