Can I make an rpm abort installation in a %post script?

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

 



Hi all.

I basically want to add a regression test to my spec file's %post script and have the rpm uninstall itself if the %post script fails.

If my %post script exits non-zero, I get a non-fatal POST error.

Is there a way to make %post give a fatal error?  

Thanks!

-Dylan
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[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