[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Forcing a rpm install to fail on some condition



Hi,

I would like to know if some kind of %script exists and help to do the following:
	1. fail to install the rpm package if architecture is wrong 
	2. fail to install the rpm package if OS is wrong 
	3. fail to install the rpm package if a specific user or environment variables are missing 

I know bout %ifarch (%ifnoarch), %ifos (%ifnos) but I want to make the rpm install 
to fail if one of the above condition is missing. 

Thanks a lot

-- Meir 
***********************************************************************************
Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster@ndsisrael.com and destroy the original message.
***********************************************************************************




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []