summaryrefslogtreecommitdiff
path: root/scripts/install/install-image
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install/install-image')
-rwxr-xr-xscripts/install/install-image20
1 files changed, 0 insertions, 20 deletions
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'