[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: bailing out of a build in install/uninstall script
- From: rpjday <rpjday mindspring com>
- To: <rpm-list redhat com>
- Subject: Re: bailing out of a build in install/uninstall script
- Date: Sun, 6 Jan 2002 09:20:39 -0500 (EST)
On 6 Jan 2002, Dan Poirier wrote:
> rpjday <rpjday@mindspring.com> writes:
>
> > according to "maximum rpm", there is a way in, say, a %pre or %preun
> > script in which you can decide to not proceed with the install or
> > removal, but it doesn't mention what that is.
> >
> > is it as simple as doing an "exit 0" in the middle of that
> > script?
>
> If the script fails, the RPM will not be installed. Execution failure
> in Unix is indicated by a non-zero exit code. So "exit 1" would do
> it.
oops ... of course that's what i meant. you knew that. :-)
rday
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]