forked from extern/nix-config
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.
This commit is contained in:
parent
a114435391
commit
17ee1c287b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user