Max Rosin 2366df6057 Fix the Icinga2 version check for versions with more than 5 characters
The previous implementation assumed that every version number will have
5 characters. With the release of 2.10.0 this does not work anymore.
The new implementation extracts everything from the second character to
the first dash. This should work as long as the version string is in a
format like 'v2.10.1-8-gaebe6da'.

fixes Icinga#6703
2018-10-19 15:37:32 +02:00
..
2018-10-18 09:27:04 +02:00
2018-10-18 09:27:04 +02:00
2018-10-18 09:27:04 +02:00
2018-10-18 09:27:04 +02:00
2018-10-18 09:27:04 +02:00