Selaa lähdekoodia

Logic for higher local version than release-url adapted, bumped version to 1.7

Michael Honkoop 1 viikko sitten
vanhempi
sitoutus
2a9a5d7f34
1 muutettua tiedostoa jossa 5 lisäystä ja 4 poistoa
  1. 5 4
      localchecks/nextcloud-updates.sh

+ 5 - 4
localchecks/nextcloud-updates.sh

@@ -12,13 +12,14 @@
 # - added extra logic to deal with unresponsive or empty response from release-url
 # v1.5 CHANGES:
 # - added enhancement sugestion made by briand on checkmk forum to make the version-compare more granular
-# Version 1.6 CHANGES:
+# v1.6 CHANGES:
 # - Restructured and refined variables, also added additional comments per line of code
-#
-# WARNING: Current logic in the check will report wrong version as upgrade when a release is withdrawn from a/the release-url.
+# v1.7 CHANGES:
+# - Updated logic to also deal with higher installed version compared to release-url
+
 
 # Current active version of the script
-SCRIPT_VERSION=1.6
+SCRIPT_VERSION=1.7
 
 # Installation:
 # This file should be place on a/the nextcloud host in /usr/lib/check_mk_agent/local