0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 01:50:33 +00:00
termux-packages/packages/boxes/src-discovery.c.patch
2023-01-22 08:51:32 +00:00

16 lines
504 B
Diff

--- a/src/discovery.c
+++ b/src/discovery.c
@@ -262,9 +262,9 @@
};
const char *global_dirs[] = {
globalconf_marker,
- "/etc/xdg/boxes",
- "/usr/local/share/boxes",
- "/usr/share/boxes"
+ "@TERMUX_PREFIX@/etc/xdg/boxes",
+ "@TERMUX_PREFIX@/local/share/boxes",
+ "@TERMUX_PREFIX@/share/boxes"
};
const char *dirs[global_only ? 4 : 7];
if (global_only) {