termux-packages/packages/fastfetch/src-common-init.c.patch

18 lines
640 B
Diff

--- a/src/common/init.c
+++ b/src/common/init.c
@@ -58,12 +58,12 @@
FFstrbuf* systemConfigHome = ffListAdd(&state->configDirs);
ffStrbufInitA(systemConfigHome, 64);
- ffStrbufAppendS(systemConfigHome, "/etc/xdg");
+ ffStrbufAppendS(systemConfigHome, "@TERMUX_PREFIX@/etc/xdg");
FF_ENSURE_ONLY_ONCE_IN_LIST(systemConfigHome)
FFstrbuf* systemConfig = ffListAdd(&state->configDirs);
ffStrbufInitA(systemConfig, 64);
- ffStrbufAppendS(systemConfig, "/etc");
+ ffStrbufAppendS(systemConfig, "@TERMUX_PREFIX@/etc");
FF_ENSURE_ONLY_ONCE_IN_LIST(systemConfig)
#undef FF_ENSURE_ONLY_ONCE_IN_LIST