diff --git a/.archlinux/install-scripts/003-configure b/.archlinux/install-scripts/003-configure index 73e8d58..8079fde 100755 --- a/.archlinux/install-scripts/003-configure +++ b/.archlinux/install-scripts/003-configure @@ -23,13 +23,13 @@ echo "127.0.0.1 localhost" >> /mnt/etc/hosts echo "::1 localhost" >> /mnt/etc/hosts echo "127.0.1.1 $HOSTNAME.localdomain $HOSTNAME" >> /mnt/etc/hosts -# Set the language to English and use the en_US.UTF-8 locale. -echo "LANG=en_US.UTF-8" > /mnt/etc/locale.conf +# Declare which locales we want to generate and generate them sed -i '/#en_US.UTF-8 UTF-8/s/^#//g' /mnt/etc/locale.gen - -# Generate the locale. arch-chroot /mnt locale-gen +# Set the system locale to the generated en_US.UTF-8 +echo "LANG=en_US.UTF-8" > /mnt/etc/locale.conf + # Set the tty font to a larger one (same as the default setfont, but larger) if [ "$HIDPI" == "YES" ]; then echo "FONT=latarcyrheb-sun32" > /mnt/etc/vconsole.conf