From 2f28467546b0a4b5d057e0e4f8ef5faeb9506da3 Mon Sep 17 00:00:00 2001 From: natemaia Date: Tue, 29 Oct 2019 16:48:56 -0700 Subject: [PATCH] Fix: select_filesystem() not offering skip for partitions with an existing filesystem --- archlabs-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archlabs-installer b/archlabs-installer index 17afa0c..a47bc89 100755 --- a/archlabs-installer +++ b/archlabs-installer @@ -8,7 +8,7 @@ # check for syntax errors # set -n -VER=2.1.1 +VER=2.1.2 # default values { @@ -1028,7 +1028,7 @@ select_filesystem() [[ $cur && $part == "$AUTO_ROOT_PART" ]] && return 0 until [[ $fs ]]; do - if [[ $cur && $FORMATTED == *"$part"* ]]; then + if [[ $cur ]]; 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