diff --git a/scripts/OS/Arch/setup.sh b/scripts/OS/Arch/setup.sh index 3382110a..8769e0eb 100755 --- a/scripts/OS/Arch/setup.sh +++ b/scripts/OS/Arch/setup.sh @@ -20,8 +20,8 @@ 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; -arch-chroot "$ARCH_MOUNT_ROOT" echo "LANG=$ARCH_LANG" >> /etc/locale.conf; -arch-chroot "$ARCH_MOUNT_ROOT" echo "KEYMAP=$ARCH_KEYMAP" >> /etc/vconsole.conf; +echo "LANG=$ARCH_LANG" | 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; arch-chroot "$ARCH_MOUNT_ROOT" echo "$ARCH_HOSTNAME" > /etc/hostname; arch-chroot "$ARCH_MOUNT_ROOT" mkinitcpio -P;