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

Class addPostUpdateScript

source code

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

NAME

r.addPostUpdateScript() - Specify the post update script for a trove.

SYNOPSIS

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

DESCRIPTION

The r.addPostUpdateScript command specifies the post update script for a group. This script is run after the group has been updated from a previously-installed version to the version defining the script.

PARAMETERS

The r.addPostUpdateScript() 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 = 'postUpdateScripts'

Inherited from TroveScript: keywords