From 92f6f66814c0d9e9a82048ac99cf50d839678dc3 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Sun, 21 Nov 2010 07:59:04 -0800 Subject: Bugfix 6457: Don't ask the question if you're not going to like the answer. --- scripts/install/install-get-partition | 34 +++++++++++----------------------- scripts/install/install-image | 22 ++++++++++++---------- 2 files changed, 23 insertions(+), 33 deletions(-) (limited to 'scripts') diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition index 8b4bd406..50ba7505 100755 --- a/scripts/install/install-get-partition +++ b/scripts/install/install-get-partition @@ -885,9 +885,10 @@ unmount () { turnoffswap while true; do - # check if we are in a live CD boot + if ! is_live_cd_boot; then - # running installed system. check boot drive/partition. + # We're running on an installed system, so we don't have to find + # a partition to install onto if is_union_install; then # this is a union install ROOT_PARTITION_TYPE=union @@ -895,27 +896,9 @@ while true; do # this is an old, non-union install ROOT_PARTITION_TYPE=old fi - while [ -z "$response" ]; do - cat <