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

Class addPostInstallScript

source code

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

NAME

r.addPostInstallScript() - Specify the post install script for a trove.

SYNOPSIS

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

DESCRIPTION

The r.addPostInstallScript command specifies the post install script for a group. This script is run after the group has been installed for the first time (not when the group is being upgraded from a previously installed version to version defining the script).

PARAMETERS

The r.addPostInstallScript() 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 = 'postInstallScripts'

Inherited from TroveScript: keywords