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

12 lines
322 B
Diff
Raw Normal View History

2022-04-04 03:58:49 +02:00
--- 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);