summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall-artix.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install-artix.sh b/install-artix.sh
index 6b58b8b..81dd771 100755
--- a/install-artix.sh
+++ b/install-artix.sh
@@ -89,6 +89,9 @@ unset input
read -rp "Type YES (in uppercase letters) to begin installation: " input
[[ "${input}" != "YES" ]] && exit
+# Wipe file-system
+wipefs -a "${drive}"
+
# Create partitions
printf ',%s,"%s",*\n,%s,S\n,+,L\n' \
"${boot_size}" "${boot_type}" "${swap_size}" \