mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 04:10:52 +00:00
12 lines
335 B
Diff
12 lines
335 B
Diff
--- a/core/helpers.cpp
|
|
+++ b/core/helpers.cpp
|
|
@@ -343,7 +343,7 @@
|
|
|
|
/* Search global data dirs */
|
|
const auto datadirs = std::string{al::getenv("XDG_DATA_DIRS")
|
|
- .value_or("/usr/local/share/:/usr/share/")};
|
|
+ .value_or("@TERMUX_PREFIX@/share/")};
|
|
|
|
auto curpos = 0_uz;
|
|
while(curpos < datadirs.size())
|