[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Doing a preinstallation check
- From: Paul Nasrat <pnasrat redhat com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Doing a preinstallation check
- Date: Wed, 26 Jul 2006 20:07:59 -0400
On Wed, 2006-07-26 at 15:40 -0700, Joe Van Dyk wrote:
> On 7/26/06, Paul Nasrat <pnasrat redhat com> wrote:
> > On Wed, 2006-07-26 at 12:01 -0700, Joe Van Dyk wrote:
> > > 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?
> > >
> >
> > Is it not something you can express as a dependency - eg
> >
> > Requires: /path/to/some/command
>
> That would be great if that were possible... I'll try it.
If the required binary is installed using rpm then that'll just work
Paul
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]