diff --git a/install.sh b/install.sh index 1883514..3c4e468 100755 --- a/install.sh +++ b/install.sh @@ -177,7 +177,6 @@ partition() { echo -n "Configuring BOOT partition..." quiet mkfs.fat -F 32 "$DRIVE_TARGET"2 fatlabel "$DRIVE_TARGET"2 BOOT - mkdir -p /mnt/boot echo "done" fi @@ -189,7 +188,7 @@ partition() { echo -n "Configuring ROOT partition..." quiet mkfs.ext4 -L ROOT "$DRIVE_TARGET"$rootN quiet mount "$DRIVE_TARGET"$rootN /mnt - [ $UEFI -ne 1 ] && quiet mount "$DRIVE_TARGET"2 /mnt/boot + [ $UEFI -ne 1 ] && mkdir -p /mnt/boot && quiet mount "$DRIVE_TARGET"2 /mnt/boot echo "done" }