termux-packages/packages/fte/src-fte.cpp.patch

15 lines
415 B
Diff

--- a/src/fte.cpp
+++ b/src/fte.cpp
@@ -25,9 +25,8 @@
#if defined(UNIX)
/* default locations for the configuration files */
static const char * const Unix_RCPaths[] = {
- "/usr/local/etc/fte/system.fterc",
- "/etc/fte/system.fterc",
- "/usr/X11R6/lib/X11/fte/system.fterc",
+ "@TERMUX_PREFIX@/local/etc/fte/system.fterc",
+ "@TERMUX_PREFIX@/etc/fte/system.fterc",
};
// variables used by vfte