Configure formatting language

This commit is contained in:
Manuel Thalmann 2023-05-25 20:06:37 +02:00
parent 79e89ca169
commit 658123be4e

View file

@ -44,7 +44,13 @@ arch-chroot "$ARCH_MOUNT_ROOT" hwclock --systohc;
arch-chroot "$ARCH_MOUNT_ROOT" sed -i "s/^#\?\($LOCALE_PATTERN.*\)$/\1/" /etc/locale.gen;
arch-chroot "$ARCH_MOUNT_ROOT" locale-gen;
echo "LANG=$ARCH_LANG" | arch-chroot "$ARCH_MOUNT_ROOT" tee /etc/locale.conf > /dev/null;
{
echo "LANG=de_CH.UTF-8"
echo "LANGUAGE=en_US.UTF-8"
echo "LC_MESSAGES=en_US.UTF-8"
} | arch-chroot "$ARCH_MOUNT_ROOT" tee /etc/locale.conf > /dev/null;
echo "KEYMAP=$ARCH_KEYMAP" | arch-chroot "$ARCH_MOUNT_ROOT" tee /etc/vconsole.conf > /dev/null;
echo "$ARCH_HOSTNAME" | arch-chroot "$ARCH_MOUNT_ROOT" tee /etc/hostname;