Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle RPM upgrade in %postun script (#14379)
This pull request addresses a key aspect of the RPM upgrade process - handling of scripts during upgrades vice pure deletion events. An RPM upgrade operation consists of both an Install and an Uninstall operation, meaning that during an upgrade, our %postun script is run and previously, it was causing the accidental deletion of binaries needed for the upgrade. To prevent this unwanted removal during upgrade scenarios, the %postun script now checks for the execution scenario in which it finds itself.
- Loading branch information