diff --git a/scripts/0-install.sh b/scripts/0-install.sh index eedb535..f181b30 100644 --- a/scripts/0-install.sh +++ b/scripts/0-install.sh @@ -9,7 +9,7 @@ read -p 'Please enter the drive value for the EFI partition: ' efipar # Format the root partition to ext4 mkfs.ext4 /dev/$rootpar # Mount root partition -mount -o ${MNTOPTIONS},/dev/$rootpar /mnt +mount -o $MNTOPTIONS /dev/$rootpar /mnt # Ask if the EFI partition should be wiped before mounting read -p "Do you wish to wipe the EFI partition? If you already have an existing OS installed, say No. " yesno case $yesno in @@ -49,7 +49,7 @@ pacstrap -i /mnt base base-devel linux linux-firmware rsync networkmanager grub mkdir /mnt/boot/efi mount /dev/$efipar /mnt/boot/efi if test -z "$homepar"; then - mount -o ${MNTOPTIONS},/dev/$homepar /mnt/home + mount -o $MNTOPTIONS /dev/$homepar /mnt/home fi # Generate a fstab file genfstab -U /mnt >> /mnt/etc/fstab