diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-06 19:31:02 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-06 19:31:02 +0100 |
commit | a1d7585036f0cee7a69b18aaaa4bda4c66982336 (patch) | |
tree | 2d50bebefbf446251143c0a4bd80086bb669ae3c /src | |
parent | 9a5c919351428ce87bcfd7200c5ce34decd18f3a (diff) |
fix filesystem listings in autoprepare and interactive filesystems mode
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 4 |
1 files 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 |