packages/fte

This commit is contained in:
termux-actions[bot]
2022-02-23 09:37:43 +00:00
parent f941a9a211
commit aac61eee4e
9 changed files with 152 additions and 0 deletions

View 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);