This is needed to provide support for rpm/deb upgrade do to the order that they run the scripts on upgrade.