From: natemaia Date: Wed, 30 Oct 2019 00:20:42 +0000 (-0700) Subject: Don't allow skipping formatting root X-Git-Url: http://git.osdn.net/view?p=pacbang-linux%2Finstaller-arch.git;a=commitdiff_plain;h=5ec2679a9faad4afbefdde71840768d22037fe40 Don't allow skipping formatting root --- 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