mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
12 lines
504 B
Diff
12 lines
504 B
Diff
--- a/scripts/xdt-autogen.in
|
|
+++ b/scripts/xdt-autogen.in
|
|
@@ -164,7 +164,7 @@
|
|
## Determine XDG data dirs
|
|
##
|
|
test -z "${XDG_DATA_HOME}" && XDG_DATA_HOME="${HOME}/.local/share"
|
|
-test -z "${XDG_DATA_DIRS}" && XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
|
+test -z "${XDG_DATA_DIRS}" && XDG_DATA_DIRS="@TERMUX_PREFIX@/local/share:@TERMUX_PREFIX@/share"
|
|
test -d "@datadir@" && XDG_DATA_DIRS="@datadir@:${XDG_DATA_DIRS}"
|
|
XDG_DATA_DIRS="${XDG_DATA_HOME}:${XDG_DATA_DIRS}"
|
|
export XDG_DATA_DIRS XDG_DATA_HOME
|