diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-06-28 20:35:49 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-06-28 20:35:49 +0200 |
commit | 6e4dfece98d0733d4e6f392b1c0e9016eb6e64b5 (patch) | |
tree | 9c20bb2c0cded6aab6864e5d116c2971bf6ef542 | |
parent | c72198a587c00665f58d2c554c29221c418cbb3b (diff) |
bugfixes for better mountpoint picker
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 9f49502..dab18dc 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -415,9 +415,9 @@ interactive_filesystem () then default= [ -n "$fs_mountpoint" ] && default="$fs_mountpoint" - ask_option "$default" "Select the mountpoint" "Select a mountpoint for $part" required / 'root' /boot 'files for booting' /etc 'config files' /home 'home directories' /tmp 'temporary files' Custom 'enter a custom mountpoint' || return 1 - [ "$ANSWER_OPTION" == custom ] && ask_string "Enter the custom mountpoint for $part" "$default" || return 1 - fs_mountpoint=$ANSWER_STRING + ask_option "$default" "Select the mountpoint" "Select a mountpoint for $part" required / 'root' /boot 'files for booting' /etc 'config files' /home 'home directories' /tmp 'temporary files' custom 'enter a custom mountpoint' || return 1 + fs_mountpoint=$ANSWER_OPTION + [ "$ANSWER_OPTION" == custom ] && ask_string "Enter the custom mountpoint for $part" "$default" && fs_mountpoint=$ANSWER_STRING || return 1 fi # ask label, if relevant |