0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-06 02:26:34 +00:00
2023-01-16 11:33:01 +00:00

15 lines
466 B
Diff

--- a/ytfzf
+++ b/ytfzf
@@ -20,9 +20,9 @@
: "${YTFZF_EXTENSIONS_DIR:=$YTFZF_CONFIG_DIR/extensions}"
: "${YTFZF_CUSTOM_SCRAPERS_DIR:=$YTFZF_CONFIG_DIR/scrapers}"
-: "${YTFZF_SYSTEM_ADDON_DIR:=/usr/local/share/ytfzf/addons}"
+: "${YTFZF_SYSTEM_ADDON_DIR:=@TERMUX_PREFIX@/share/ytfzf/addons}"
-: "${YTFZF_TEMP_DIR:="${TMPDIR:-/tmp}"/ytfzf-$(id -u)}"
+: "${YTFZF_TEMP_DIR:="${TMPDIR:-@TERMUX_PREFIX@/tmp}"/ytfzf-$(id -u)}"
: "${YTFZF_LOGFILE:="/dev/stderr"}"