diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-08-02 16:37:43 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-08-02 16:37:43 -0700 |
commit | cf808e92096c07f0479dc5030e56708a791fd885 (patch) | |
tree | 80a0227c74a3cc251e488df6c688289ff28aa6ce | |
parent | 0bd4abedcf71b5d0aca7e8b4150b5e2528fd4a29 (diff) | |
download | vyatta-cfg-quagga-cf808e92096c07f0479dc5030e56708a791fd885.tar.gz vyatta-cfg-quagga-cf808e92096c07f0479dc5030e56708a791fd885.zip |
Bugfix 5964: Eliminate unnecessary version check.
-rwxr-xr-x | scripts/install/install-image | 20 |
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' |