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

Re: Doing a preinstallation check



On Wednesday, 26 July 2006, at 12:01:24 (-0700),
Joe Van Dyk wrote:

> 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.

I think you want %pretrans.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej kainx org>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Morality cannot be legislated, but behaviour can be regulated.
  Judicial decrees may not change the heart, but they can restrain
  the heartless."                       -- Dr. Martin Luther King, Jr.


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