aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 21:17:02 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 21:17:02 +0100
commit6ee182074e1410837239320a6ea8abf640cf25d9 (patch)
tree1e84c42f3b8d86a8820c9c0581eb6d8160a7ebc5
parentmkdir -f (diff)
downloadarch-installer-6ee182074e1410837239320a6ea8abf640cf25d9.tar.gz
arch-installer-6ee182074e1410837239320a6ea8abf640cf25d9.tar.bz2
arch-installer-6ee182074e1410837239320a6ea8abf640cf25d9.tar.xz
arch-installer-6ee182074e1410837239320a6ea8abf640cf25d9.tar.zst
arch-installer-6ee182074e1410837239320a6ea8abf640cf25d9.zip
mkdir -p
-rwxr-xr-xarch-installer.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch-installer.sh b/arch-installer.sh
index 92b9753..c0a6607 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 -f /mnt/arch > /dev/null 2>&1
+ mkdir -p /mnt/arch > /dev/null 2>&1
swapon "$drv""2" > /dev/null 2>&1
mount "$drv""3" /mnt/arch > /dev/null 2>&1
- mkdir -f /mnt/arch/boot > /dev/null 2>&1
- mkdir -f /mnt/arch/boot/efi > /dev/null 2>&1
+ mkdir -p /mnt/arch/boot > /dev/null 2>&1
+ mkdir -p /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 -f /mnt/arch/home > /dev/null 2>&1
+ mkdir -p /mnt/arch/home > /dev/null 2>&1
mount "$drv""4" /mnt/arch/home > /dev/null 2>&1
sleep 2
}