diff options
author | Tomas Touceda <chiiph@gentoo.org> | 2011-06-22 08:00:10 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@gentoo.org> | 2011-06-22 08:00:10 -0300 |
commit | 4cd2e18baa88939e0879148a7bff296ada727d94 (patch) | |
tree | 610a025c72c8dbb16acbb96943ca846536b66c60 /samples | |
parent | 2ca16b64ac00ce6375e3828d334979e5b7abf098 (diff) |
Creates the thp file
Adds two parameters to makethppackage: thpPath and scriptsDir.
thpPath: where to save the finished thp file.
scriptsDir: where the scripts specified in the configuration file are.
Diffstat (limited to 'samples')
-rw-r--r-- | samples/example-thp-package.cfg | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/samples/example-thp-package.cfg b/samples/example-thp-package.cfg index 1c69661..e7e410c 100644 --- a/samples/example-thp-package.cfg +++ b/samples/example-thp-package.cfg @@ -15,4 +15,7 @@ platform = { "os" : "GNU/Linux", "arch" : "x86" } require_features = [ "pythonscripts" ] require_packages = [] -scripts = { "preinst" : "/some/path" } +scripts = { "python2" : + [ ["script1.py", ["preinst" ]], + ["script2.py", ["postinst"]] ] + } |