summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@gentoo.org>2011-06-22 08:00:10 -0300
committerTomas Touceda <chiiph@gentoo.org>2011-06-22 08:00:10 -0300
commit4cd2e18baa88939e0879148a7bff296ada727d94 (patch)
tree610a025c72c8dbb16acbb96943ca846536b66c60 /samples
parent2ca16b64ac00ce6375e3828d334979e5b7abf098 (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.cfg5
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"]] ]
+ }