Package conary :: Package build :: Module source :: Class addPreUpdateScript
[hide private]
[frames] | no frames]

Class addPreUpdateScript

source code

  action.Action --+            
                  |            
action.RecipeAction --+        
                      |        
             _AnySource --+    
                          |    
                TroveScript --+
                              |
                             addPreUpdateScript

NAME

r.addPreUpdateScript() - Specify the pre update script for a trove.

SYNOPSIS

r.addPreUpdateScript(sourcename, [contents,] [groupName]

DESCRIPTION

The r.addPreUpdateScript command specifies the pre update script for a group. This script is run before the group is updated from a previously-installed version to the version defining the script.

PARAMETERS

The r.addPreUpdateScript() command accepts the following parameters, with default values shown in parentheses:

contents : (None) The contents of the script groupName : (None) The name of the group to add the script to

Instance Methods [hide private]

Inherited from TroveScript: __init__, do, doDownload, fetch, fetchLocal, getPath

Inherited from action.RecipeAction: doAction, doPrep, doSuggestAutoBuildReqs, init_error

Inherited from action.Action: addArgs

Inherited from action.Action (private): _applyDefaults

Class Variables [hide private]
  _scriptName = 'preUpdateScripts'

Inherited from TroveScript: keywords