aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 21:16:32 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 21:16:32 +0100
commit5f81fa5bc7da2ad243014f8786f54e9238455e9c (patch)
treed78533164c9d34381b74369df6b9d7b475c06281
parentRemoved useless clear (diff)
downloadarch-installer-5f81fa5bc7da2ad243014f8786f54e9238455e9c.tar.gz
arch-installer-5f81fa5bc7da2ad243014f8786f54e9238455e9c.tar.bz2
arch-installer-5f81fa5bc7da2ad243014f8786f54e9238455e9c.tar.xz
arch-installer-5f81fa5bc7da2ad243014f8786f54e9238455e9c.tar.zst
arch-installer-5f81fa5bc7da2ad243014f8786f54e9238455e9c.zip
mkdir -f
-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
}