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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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