From 5dc87cf6f9ed68f68d70256afff51981875dfcf4 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 10 Dec 2008 22:31:05 +0100 Subject: interactive menu fix --- src/core/libs/lib-ui-interactive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/libs') diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index f247f41..687d8c5 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -400,8 +400,8 @@ interactive_filesystems() { while read part type label fs do # leave out unneeded info from fs string - fs_display${fs//;yes/} - fs_display${fs//;target/} + fs_display=${fs//;yes/} + fs_display=${fs//;target/} infostring=" $type $label $fs_display" [ -b "$part" ] && get_blockdevice_size ${part/+/} && infostring="${BLOCKDEVICE_SIZE}MB $infostring" # add size in MB for existing blockdevices (eg not for mapper devices that are not yet created yet) menu_list="$menu_list $part $infostring" #don't add extra spaces, dialog doesn't like that. -- cgit v1.2.3-54-g00ecf