From a1d7585036f0cee7a69b18aaaa4bda4c66982336 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 6 Dec 2010 19:31:02 +0100 Subject: fix filesystem listings in autoprepare and interactive filesystems mode --- src/core/libs/lib-ui-interactive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 92fc236..832f4c4 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -258,7 +258,7 @@ interactive_autoprepare() FSOPTS= for fs in ext2 ext3 ext4 reiserfs xfs jfs vfat nilfs2 do - check_is_in $fs $possible_fs && FSOPTS="$FSOPTS $fs ${filesystem_names[$fs]}" + check_is_in $fs "${possible_fs[@]}" && FSOPTS="$FSOPTS $fs ${filesystem_names[$fs]}" done ask_number "Enter the size (MiB) of your /boot partition. Recommended size: 100MiB\n\nDisk space left: $BLOCKDEVICE_SIZE MiB" 16 $BLOCKDEVICE_SIZE 100 || return 1 @@ -394,7 +394,7 @@ interactive_filesystem () FSOPTS= for fs in ${fs_on[$part_type]} do - check_is_in $fs $possible_fs && FSOPTS="$FSOPTS $fs ${filesystem_names[$fs]}" + check_is_in $fs "${possible_fs[@]}" && FSOPTS="$FSOPTS $fs ${filesystem_names[$fs]}" done fs_create=no -- cgit v1.2.3-54-g00ecf