raise error to stop install

Jesse Keating jkeating at j2solutions.net
Tue Jul 13 00:55:20 UTC 2004


So I'm doing some fun stuff in %pre with a python script, and if a 
certain state is matched, I want to raise an error that will abort the 
install.  However it seems that raising an error in %pre doesn't do 
much, or I'm doing it wrong.  Is there a way to raise an error that 
will abort the install (hopefully with a traceback showing my raise)? 

-- 
Jesse Keating RHCE      (geek.j2solutions.net)
Fedora Legacy Team      (www.fedoralegacy.org)
GPG Public Key          (geek.j2solutions.net/jkeating.j2solutions.pub)
 
Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20040712/66bb679a/attachment.sig>


More information about the Kickstart-list mailing list