From 94835ef01d1582f08ccd23e6aa8619ebab0e6e41 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Fri, 13 Aug 2021 13:19:50 -0300 Subject: [PATCH] Fix hard-coded locale --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 429438a..9d9d13c 100755 --- a/install.sh +++ b/install.sh @@ -228,9 +228,9 @@ set_locale() { sed "s/^#$LOCALE/$LOCALE/" < /mnt/etc/locale.gen > /etc/locale.gen quiet locale-gen cp -f /usr/lib/locale/locale-archive /mnt/usr/lib/locale/locale-archive + cp -f /etc/locale.gec /mnt/etc/locale.gen - echo "export LANG=\"en_US.UTF-8\"" > /mnt/etc/locale.conf - echo "export LC_COLLATE=\"C\"" >> /mnt/etc/locale.conf + echo "export LANG=\"$LOCALE\"" > /mnt/etc/locale.conf echo "done" echo -n "Setting keyboard layout..."