summaryrefslogtreecommitdiff
path: root/lib/thandy/formats.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thandy/formats.py')
-rw-r--r--lib/thandy/formats.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/thandy/formats.py b/lib/thandy/formats.py
index b73e5ac..d1b9e5f 100644
--- a/lib/thandy/formats.py
+++ b/lib/thandy/formats.py
@@ -780,6 +780,10 @@ def makePackageObj(config_fname, package_fname):
if not r.get('cmd_install'):
extra['install_type'] = 'command'
extra['cmd_install'] = [ "${FILE}" ] + r['exe_args']
+ elif format == 'thp':
+ extra['check_type'] = 'thp'
+ extra['thp_name'] = r['name']
+ extra['thp_version'] = r['version']
if r.get('command_install'):
extra['install_type'] = 'command'