raise error to stop install

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

 



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

Attachment: pgpvArYka2bF8.pgp
Description: signature


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux