Removing a Package if files are absent
I have a package that I have in as an rpm. It installs the package initially and then checks to make sure it is installed. However if someone deletes important files within in this package then this is useless because the package is still installed but important files are no longer there. Therefore I would like to check if certain files are missing then to uninstall the package and reinstall it. Is there a way to do this?