From 146dd7460216b08a224b3a4d5ce139fdbaac5967 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Sun, 7 Nov 2021 15:44:33 -0300 Subject: [PATCH] Fix mkdir --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" }