Re: rpm exit codes

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

 



man, 18.07.2005 kl. 22.40 skrev Matthew Miller:

> > > > Normal shell scripting.
> > > What do you mean by that?
> > The whole %install routine gives access to a shell environment. You have
> > complete access to the shell error codes and can test for whatever OP
> > wants.
> 
> One of us is misunderstanding the original question. I think it's you, but I
> could be wrong. :)

Ok ;)

> I believe the question was about the exit codes of *rpm itself*, and the
> "install script" in question is a script that calls the rpm command line
> program, not the "%install" section in the RPM.

You're right. Both of what OP wanted return (for me)  errorlevel 1 when
called from a script. 

--Tonni

-- 
mail: tonye@xxxxxxxxxxxxxx
http://www.billy.demon.nl



[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