Werk #6099: Only reset default version when current default version is uninstalled

Component RPM packaging
Title Only reset default version when current default version is uninstalled
Date May 17, 2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.5.0b5 1.6.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously all RPM packages that were uninstalled were resetting the current default version to the result of "ls -A /omd/versions 2>/dev/null| sort -n | tail -n 1". The uninstall logic of NEW packages will now first check whether or not the version currently being removed is the default version and only reset the default version in case it is needed.

To the list of all Werks