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

Doing a preinstallation check



Hi,

Say I want to run a command before installing an RPM.  If the command
fails, the RPM should not install.  If I was installing multiple RPMs
at the same time and that command inside that RPM failed, none of the
RPMs would install.

Is that an appropriate use of the %preinstall (or is is %pre) section?

Joe


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