mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 16:06:16 +00:00
21 lines
584 B
Plaintext
21 lines
584 B
Plaintext
--- a/src/corelib/io/qstandardpaths_unix.cpp
|
|
+++ b/src/corelib/io/qstandardpaths_unix.cpp
|
|
@@ -394,7 +394,7 @@
|
|
|
|
QStringList dirs = dirsList(xdgDataDirsEnv);
|
|
if (dirs.isEmpty())
|
|
- dirs = QStringList{u"/usr/local/share"_s, u"/usr/share"_s};
|
|
+ dirs = QStringList{u"@TERMUX_PREFIX@/local/share"_s, u"@TERMUX_PREFIX@/share"_s};
|
|
|
|
return dirs;
|
|
}
|
|
@@ -406,7 +406,7 @@
|
|
|
|
QStringList dirs = dirsList(xdgConfigDirs);
|
|
if (dirs.isEmpty())
|
|
- dirs.push_back(u"/etc/xdg"_s);
|
|
+ dirs.push_back(u"@TERMUX_PREFIX@/etc/xdg"_s);
|
|
|
|
return dirs;
|
|
}
|