Hi Joe,
Normally, any checks or conditions that you test inside the
preinstall script is before installation. So, this would not further
continue the installation if the check or conditions are not met. I
think in my opnion the check is appropriate inside the preinstall script
of your RPM package.
Regards,
Ken
Joe Van Dyk said the following on 7/26/2006 3:01 PM:
Hi,
Say I want to run a command before installing an RPM. If the command
fails, the RPM should not install. If I was installing multiple RPMs
at the same time and that command inside that RPM failed, none of the
RPMs would install.
Is that an appropriate use of the %preinstall (or is is %pre) section?
Joe
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
--
Ken Failbus
Ulticom, Inc.
(856) 787-2789
EMail Address: ken dot failbus at ulticom dot com
Failure is not acceptable. It comes bundled with Windows.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list