From 2ed323dbc8687053a44c62a9226e6cd53acdfe3d Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Tue, 4 Feb 2020 19:37:29 +0100 Subject: Bug fix --- arch-installer.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index 756f680..c6df581 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -476,11 +476,11 @@ jo_arch_chroot() { arch-chroot /mnt/arch hwclock --systohc arch-chroot /mnt/arch sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen arch-chroot /mnt/arch locale-gen - arch-chroot /mnt/arch echo "LANG=en_US.UTF-8" > /etc/locale.conf - arch-chroot /mnt/arch echo "$hstnm" > /etc/hostname - arch-chroot /mnt/arch echo "127.0.0.1 localhost" > /etc/hosts - arch-chroot /mnt/arch echo "::1 localhost" >> /etc/hosts - arch-chroot /mnt/arch echo "127.0.1.1 $hstnm.localdomain $hstnm" >> /etc/hosts + arch-chroot /mnt/arch echo "LANG=en_US.UTF-8" > /mnt/arch/etc/locale.conf + arch-chroot /mnt/arch echo "$hstnm" > /mnt/arch/etc/hostname + arch-chroot /mnt/arch echo "127.0.0.1 localhost" > /mnt/arch/etc/hosts + arch-chroot /mnt/arch echo "::1 localhost" >> /mnt/arch/etc/hosts + arch-chroot /mnt/arch echo "127.0.1.1 $hstnm.localdomain $hstnm" >> /mnt/arch/etc/hosts arch-chroot /mnt/arch passwd <&1 +jo_arch_chroot >/dev/null 2>&1 sleep 4 dialog --title "WORK COMPLETE"\ --msgbox "\ -- cgit v1.2.3