diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-19 17:14:27 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-19 17:14:27 -0600 |
commit | 2495654ac0b1d9a4002f8d385d10d2afec784dda (patch) | |
tree | da8b25a9bbaa3ab3bc2901398db4a0a3ec74481c /hscript/script_e.cc | |
parent | 3744e909df78cefebb083e401f6f6378f27d1b1a (diff) | |
download | horizon-2495654ac0b1d9a4002f8d385d10d2afec784dda.tar.gz horizon-2495654ac0b1d9a4002f8d385d10d2afec784dda.tar.bz2 horizon-2495654ac0b1d9a4002f8d385d10d2afec784dda.tar.xz horizon-2495654ac0b1d9a4002f8d385d10d2afec784dda.zip |
hscript: Add 'arch' key implementation and related tests
Diffstat (limited to 'hscript/script_e.cc')
-rw-r--r-- | hscript/script_e.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hscript/script_e.cc b/hscript/script_e.cc index f8c4ff6..2ae48d0 100644 --- a/hscript/script_e.cc +++ b/hscript/script_e.cc @@ -438,6 +438,11 @@ bool Script::execute() const { } #endif /* HAS_INSTALL_ENV */ + /* REQ: Runner.Execute.pkginstall.arch */ + if(internal->arch) { + EXECUTE_OR_FAIL("arch", internal->arch) + } + /* REQ: Runner.Execute.pkginstall */ output_info("internal", "installing packages to target"); std::ostringstream pkg_list; |