Werk #6099

TitleOnly reset default version when current default version is uninstalled
Date2018-05-17 09:15:50
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.6.0i1,1.5.0b5
Level1 - Trivial Change
ClassBug Fix
CompatibilityCompatible - 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.