>>>>> "JR" == John Rouillard <rouilj-yum@xxxxxxxxxxx> writes: JR> I am trying to add an environment variable that lets a JR> pre/post or trigger scriptlet know if yum is invoking it with JR> upgrade or install intentions. Do you mean that you are trying to determine within an RPM specfile %pre or %post scriptlet whether the package is being upgraded or installed? If so, yum has absolutely nothing to do with this since the user could be typing "rpm -i". You can find information about detecting when scriptlets are being run at http://fedoraproject.org/wiki/Packaging/Guidelines Look for "Running scriptlets only in certain situations". - J< _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum