Re: Doing a preinstallation check

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

 



On 7/26/06, Michael Jennings <mej@xxxxxxxxx> wrote:
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.

First I've heard of %pretrans, and a quick google didn't bring up
anything terribly informative.  What's it do?  And how would it differ
from %preinstall?

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux