OSDN Git Service

Don't allow skipping formatting root
authornatemaia <natemaia10@gmail.com>
Wed, 30 Oct 2019 00:20:42 +0000 (17:20 -0700)
committernatemaia <natemaia10@gmail.com>
Wed, 30 Oct 2019 00:20:42 +0000 (17:20 -0700)
archlabs-installer

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