From 5f81fa5bc7da2ad243014f8786f54e9238455e9c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 28 Nov 2019 21:16:32 +0100 Subject: mkdir -f --- arch-installer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index da68f85..92b9753 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -373,17 +373,17 @@ jo_make_filesystem() { dialog --title "$1"\ --infobox "Mounting partitions"\ 3 28 - mkdir /mnt/arch > /dev/null 2>&1 + mkdir -f /mnt/arch > /dev/null 2>&1 swapon "$drv""2" > /dev/null 2>&1 mount "$drv""3" /mnt/arch > /dev/null 2>&1 - mkdir /mnt/arch/boot > /dev/null 2>&1 - mkdir /mnt/arch/boot/efi > /dev/null 2>&1 + mkdir -f /mnt/arch/boot > /dev/null 2>&1 + mkdir -f /mnt/arch/boot/efi > /dev/null 2>&1 if [ "$efimode" = true ]; then mount "$drv""1" /mnt/arch/boot/efi > /dev/null 2>&1 else mount "$drv""1" /mnt/arch/boot > /dev/null 2>&1 fi - mkdir /mnt/arch/home > /dev/null 2>&1 + mkdir -f /mnt/arch/home > /dev/null 2>&1 mount "$drv""4" /mnt/arch/home > /dev/null 2>&1 sleep 2 } -- cgit v1.2.3