Update install-release.sh

46ba7cde53
pull/2531/head
Kslr 2019-06-03 15:04:58 +08:00 committed by Nicholas Wang
parent 423b2a815e
commit 4032e20b03
No known key found for this signature in database
GPG Key ID: F20CA399C9BD9100
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ main(){
RETVAL="$?" RETVAL="$?"
if [[ $RETVAL == 0 ]] && [[ "$FORCE" != "1" ]]; then if [[ $RETVAL == 0 ]] && [[ "$FORCE" != "1" ]]; then
colorEcho ${BLUE} "Latest version ${CUR_VER} is already installed." colorEcho ${BLUE} "Latest version ${CUR_VER} is already installed."
if [ -n "${ERROR_IF_UPTODATE}" ]; then if [[ "${ERROR_IF_UPTODATE}" == "1" ]]; then
return 10 return 10
fi fi
return return