updating rpm preinstallation script to account for xml formatting