From 17ee1c287b3908ad58e5e277ff54be928e0c851a Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 3 Dec 2018 18:59:52 -0500 Subject: [PATCH] archlinux: Always uncomment lines in locale.gen It turns out that replacing the contents of locale.gen with the locales you want is not a good idea, since then it is impossible to reference the file at a later date to make changes as needed. --- .archlinux/install-scripts/003-configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.archlinux/install-scripts/003-configure b/.archlinux/install-scripts/003-configure index ab11b93..73e8d58 100755 --- a/.archlinux/install-scripts/003-configure +++ b/.archlinux/install-scripts/003-configure @@ -25,7 +25,7 @@ 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 -echo "en_US.UTF-8 UTF-8" > /mnt/etc/locale.gen +sed -i '/#en_US.UTF-8 UTF-8/s/^#//g' /mnt/etc/locale.gen # Generate the locale. arch-chroot /mnt locale-gen