Browse Source

Update install-release.sh

sunshineplan 6 years ago
parent
commit
44d1c088e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      release/install-release.sh

+ 1 - 1
release/install-release.sh

@@ -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