Even though a 2.2 to 2.3 upgrade isn't safe to be done automatically for servers, when someone uses USE=minimal, they won't be running a server anyway, so the upgrade *can* be done without interruption. I guess you could add an additional check to see if the previous version was built with USE=minimal and simply continue, rather than calling die. Another solution would be to determine if /var/lib/openldap-data actually had anything in it, other than the .keep and .version-tag, before calling die. The second might be an even better solution. Thanks,
Yeah, actually I only checked for more than 4 files in case no version tag exists, which obviously makes no sense ;) I also added a check that no version-tag check is done in case your current merge try and the possibly merged version has USE="minimal" Thanks for pointing this out :)