termux-packages/packages/fastfetch/src-modules-locale.c.patch

12 lines
322 B
Diff

--- a/src/modules/locale.c
+++ b/src/modules/locale.c
@@ -28,7 +28,7 @@
FFstrbuf locale;
ffStrbufInit(&locale);
- ffParsePropFile("/etc/locale.conf", "LANG =", &locale);
+ ffParsePropFile("@TERMUX_PREFIX@/etc/locale.conf", "LANG =", &locale);
if (locale.length == 0)
getLocaleFromEnv(&locale);