Make install.upgrade work on RPM-based systems.