From 4cd2e18baa88939e0879148a7bff296ada727d94 Mon Sep 17 00:00:00 2001 From: Tomas Touceda Date: Wed, 22 Jun 2011 08:00:10 -0300 Subject: 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. --- samples/example-thp-package.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'samples') 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"]] ] + } -- cgit v1.2.3