0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/x11-packages/shared-mime-info/update-mime-database.c.patch
2023-12-22 14:34:21 +02:00

11 lines
351 B
Diff

+++ ./src/update-mime-database.cpp
@@ -2159,7 +2159,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++)