termux-packages/packages/fastfetch/src-modules-locale.c.patch
2022-04-05 09:11:21 +09:00

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