How can i quit the rpm installation gracefully?

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

 



All,

If my rpm has to check an environment variable, say, BARRY_DIR, then if
$BARRY_DIR does not exist, can the rpm quit gracefully without installing
anything?

Should I do this checking in %pre?

Thanks, and please provide sample code if possible.

Barry



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/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