Browse Source

continue analyze other version if changes not found

Dmitriev Roman 3 years ago
parent
commit
aa6b998aeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sync_mikrotik_repo.sh

+ 1 - 1
sync_mikrotik_repo.sh

@@ -172,7 +172,7 @@ if [ "x${new_version}" == "x${old_version}" -a "x${old_timestamp}" == "x${new_ti
 if [ "x${force}" == "x" -a "x${version_changed}" == "x" ]; then
     echo "Version don't changed. Next."
     [ -e "${TARGET_DIR}/NEWEST7.${firmware_version}.new" ] && rm -f "${TARGET_DIR}/NEWEST7.${firmware_version}.new"
-    break
+    continue
     fi
 
 echo "Found version: ${new_version} from ${new_release_date}"