From 7353b11dc5aba2c0ce77744fae1335e616e7b1d8 Mon Sep 17 00:00:00 2001 From: seajee Date: Tue, 18 Jun 2024 18:56:54 +0200 Subject: [PATCH] Minor improvements --- chroot.sh | 4 ++-- install.sh | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/chroot.sh b/chroot.sh index 771ce2f..65f0081 100755 --- a/chroot.sh +++ b/chroot.sh @@ -22,9 +22,9 @@ hwclock --systohc # Localization echo "[INFO] Setting locale to en_US" -echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen +sed -i -e 's|#en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|' /etc/locale.gen locale-gen &>/dev/null -echo "LANG=en_US.UTF-8" >> /etc/locale.conf +echo "LANG=en_US.UTF-8" > /etc/locale.conf # Network configuration read -p "Enter a valid hostname (${hostname}): " input diff --git a/install.sh b/install.sh index 19c90fc..ef34246 100755 --- a/install.sh +++ b/install.sh @@ -11,9 +11,6 @@ platform="bios" input="" disk="/dev/sda" -timezone="Europe/Amsterdam" -hostname="arch" -password="" echoerr() { cat <<< "$@" 1>&2; }