From 5b41c6ede1c226ee81c146c8454d795526d343fa Mon Sep 17 00:00:00 2001 From: Zach Shepherd Date: Fri, 20 Jul 2018 18:47:12 +0800 Subject: [PATCH] Add missing right bracket to upgrade script (#1890) (#1891) The commit[1] to add upgrade support from 1.4.2 omitted a right bracket. This mistake caused upgrade to fail from 1.4.0. 1 - e811e0afa23a2302f46a94b6b3b422918700ca28 (cherry picked from commit 10aa9d492576660c925a2a1ede5a649432792bba) --- installer/build/scripts/upgrade/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/build/scripts/upgrade/upgrade.sh b/installer/build/scripts/upgrade/upgrade.sh index 0db090fb25..14908a4572 100755 --- a/installer/build/scripts/upgrade/upgrade.sh +++ b/installer/build/scripts/upgrade/upgrade.sh @@ -176,7 +176,7 @@ function proceedWithUpgrade { checkUpgradeStatus "VIC Appliance" ${appliance_upgrade_status} local ver="$1" - if [ "$ver" == "$VER_1_2_1" ] || [ "$ver" == "$VER_1_3_0" ] || [ "$ver" == "$VER_1_3_1" ] || [ "$ver" == "$VER_1_4_0" || [ "$ver" == "$VER_1_4_1" ]; then + if [ "$ver" == "$VER_1_2_1" ] || [ "$ver" == "$VER_1_3_0" ] || [ "$ver" == "$VER_1_3_1" ] || [ "$ver" == "$VER_1_4_0" ] || [ "$ver" == "$VER_1_4_1" ]; then log "" log "Detected old appliance's version as $ver."