That is exactly the purpose of the %pre – to verify that all prerequisites are met, so, yes, this is a good idea. From: Rpm-list [mailto:rpm-list-bounces@xxxxxxxxxxxxx]
On Behalf Of doc I'm being asked to create a %pre scriptlet which if certain configuration conditions are not met will not install the rpm package. Is this a good idea? My understanding of rpm scriptlets is that they should always (except under extreme conditions) exit with a status of 0. Needless to say, these rpms
with the %pre failures would be installed by rpm, yum and zypper. |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list