From cf808e92096c07f0479dc5030e56708a791fd885 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Mon, 2 Aug 2010 16:37:43 -0700 Subject: Bugfix 5964: Eliminate unnecessary version check. --- scripts/install/install-image | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'scripts') diff --git a/scripts/install/install-image b/scripts/install/install-image index c4bf3800..44414846 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -237,26 +237,6 @@ else set_up_new_iso fi -# check versions -if is_live_cd_boot; then - CURVER=LIVECD -elif is_disk_based_boot; then - CURVER=DISK -else - CURVER=$(get_cur_version) -fi -NEWVER=$(get_new_version) -if [ -z "$CURVER" ] ; then - fail_exit 'Cannot find current release version.' -fi -if [ -z "$NEWVER" ] ; then - fail_exit 'Cannot find new release version.' -fi - -if [ "$CURVER" == "$NEWVER" ]; then - fail_exit "Version \"$NEWVER\" is already installed." -fi - # get install partition PART_FILE=$(mktemp /tmp/inst-get-part.XXXXXX) \ || fail_exit 'Failed to create temporary file' -- cgit v1.2.3