From 82332b22a9bcdcaa0b57b10caa5f7536211bd44e Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Sat, 22 May 2021 04:41:57 -0400 Subject: [PATCH] Update install.sh --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index d2f29c6..9fc8632 100644 --- a/install.sh +++ b/install.sh @@ -49,8 +49,8 @@ read -r -p "This will delete the current partition table on $DISK. Do you agree response=${response,,} if [[ "$response" =~ ^(yes|y)$ ]] then - wipefs -af $DISK &>/dev/null - sgdisk -Zo $DISK &>/dev/null + wipefs -af "$DISK" &>/dev/null + sgdisk -Zo "$DISK" &>/dev/null else echo "Quitting." exit @@ -69,7 +69,7 @@ cryptroot="/dev/disk/by-partlabel/cryptroot" # Informing the Kernel of the changes. echo "Informing the Kernel about the disk changes." -partprobe $DISK +partprobe "$DISK" # Formatting the ESP as FAT32. echo "Formatting the EFI Partition as FAT32." @@ -165,7 +165,7 @@ sed -i 's#,subvolid=258,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/sn # Setting hostname. read -r -p "Please enter the hostname: " hostname -echo $hostname > /mnt/etc/hostname +echo "$hostname" > /mnt/etc/hostname # Setting up locales. read -r -p "Please insert the locale you use in this format (xx_XX): " locale