Fix: select_filesystem() not offering skip for partitions with an existing filesystem

This commit is contained in:
natemaia 2019-10-29 16:48:56 -07:00
parent 89249cd838
commit 2f28467546

View File

@ -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