Fix: select_filesystem() not offering skip for partitions with an existing filesystem
This commit is contained in:
parent
89249cd838
commit
2f28467546
@ -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
|
||||
|
Reference in New Issue
Block a user