Skip to content

Commit

Permalink
Update install-release.sh (v2fly#1705)
Browse files Browse the repository at this point in the history
Update install-release.sh
  • Loading branch information
kslr authored May 28, 2019
2 parents be27720 + 44d1c08 commit 46ba7cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/install-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ getVersion(){
return 3
elif [[ $RETVAL -ne 0 ]];then
return 2
elif [[ `echo $NEW_VER | cut -d. -f-2` != `echo $CUR_VER | cut -d. -f-2` ]];then
elif [[ $NEW_VER != $CUR_VER ]];then
return 1
fi
return 0
Expand Down Expand Up @@ -430,7 +430,7 @@ main(){
getVersion
RETVAL="$?"
if [[ $RETVAL == 0 ]] && [[ "$FORCE" != "1" ]]; then
colorEcho ${BLUE} "Latest version ${NEW_VER} is already installed."
colorEcho ${BLUE} "Latest version ${CUR_VER} is already installed."
if [[ "${ERROR_IF_UPTODATE}" == "1" ]]; then
return 10
fi
Expand Down

0 comments on commit 46ba7cd

Please sign in to comment.