aboutsummaryrefslogtreecommitdiffstats
path: root/arch-installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-xarch-installer.sh8
1 files 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
}