Tag Type | C++ code (built in to libRPM/VarCache.cc) | |
---|---|---|
Attributes | loc=string and method=methname |
Optional. Specifies a location and access method for obtaining the value of the variable. The method= can be omitted with the file name or location ends in .rpm, .par, or .sh. See also information on built-in rpm access methods in the RPM user's manual. |
name=wildcard expr | Optional. Gives the name of a variable to be loaded from the loc (see below.) If omitted, all variables ("*") will be loaded. For a variable to be loaded as a public variable (i.e., one that is exchanged with external programs and handlers) you must first declare it with a Var tag in the Public section. | |
pubName=string | Optional. Use if the external databases know this variable by a different name. | |
Contained Tags | None. | |
Related Tags | The Load tag can appear anywhere in a sequence of commands given by an Action tag. If a Load tag is is unsuccessful, the execution stops at that point in the sequence. | |
Examples | The examples for Action illustrate some uses the Load tag. |