auny87
2nd February 2011, 02:01 PM
is there a way to build an rpm package which can check in its #preinstall script if a certain directory exists and abort the installation if that doesnot exist.. its easy to check the existence of a directory in the script but how can i stop the rpm from being installed and abort by giving an error msg that the directory doesnot exist?