OSDN Git Service

Fix: select_filesystem() not offering skip for partitions with an existing filesystem
authornatemaia <natemaia10@gmail.com>
Tue, 29 Oct 2019 23:48:56 +0000 (16:48 -0700)
committernatemaia <natemaia10@gmail.com>
Tue, 29 Oct 2019 23:48:56 +0000 (16:48 -0700)
archlabs-installer

index 17afa0c..a47bc89 100755 (executable)
@@ -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