From 5ec2679a9faad4afbefdde71840768d22037fe40 Mon Sep 17 00:00:00 2001 From: natemaia Date: Tue, 29 Oct 2019 17:20:42 -0700 Subject: [PATCH] Don't allow skipping formatting root --- archlabs-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index a47bc89..9494470 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -8,7 +8,7 @@ # check for syntax errors # set -n -VER=2.1.2 +VER=2.1.3 # default values { @@ -1028,7 +1028,7 @@ select_filesystem() [[ $cur && $part == "$AUTO_ROOT_PART" ]] && return 0 until [[ $fs ]]; do - if [[ $cur ]]; then + if [[ $cur && $part != "$ROOT_PART" ]]; then dlg fs menu "Filesystem" "$txt\nCurrent: $cur" skip - ext4 - ext3 - ext2 - vfat - ntfs - f2fs - jfs - xfs - nilfs2 - reiserfs - || return 1 else dlg fs menu "Filesystem" "$txt" ext4 - ext3 - ext2 - vfat - ntfs - f2fs - jfs - xfs - nilfs2 - reiserfs - || return 1 -- 2.11.0