mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 02:21:12 +00:00
packages/fte
This commit is contained in:
11
packages/fte/src-cfte.cpp.patch
Normal file
11
packages/fte/src-cfte.cpp.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/src/cfte.cpp
|
||||
+++ b/src/cfte.cpp
|
||||
@@ -1887,7 +1887,7 @@
|
||||
//fprintf(stderr, "Looking for %s\n", Cfg);
|
||||
if (!FileExists(Cfg)) {
|
||||
// 3. /usr/share/fte
|
||||
- sprintf(tmp, "/usr/share/fte/%s", CfgName);
|
||||
+ sprintf(tmp, "@TERMUX_PREFIX@/share/fte/config/%s", CfgName);
|
||||
ExpandPath(tmp, Cfg, sizeof(Cfg));
|
||||
if (!FileExists(Cfg)) {
|
||||
sprintf(tmp, "%sconfig/%s", StartDir, CfgName);
|
||||
Reference in New Issue
Block a user