Merge pull request #236 from bmac2/master

update to include Bastillefile as a valid HOOK in verify process
This commit is contained in:
Christer Edwards
2020-08-07 10:26:51 -06:00
committed by GitHub

View File

@@ -54,7 +54,7 @@ verify_template() {
_template_path=${bastille_templatesdir}/${BASTILLE_TEMPLATE}
_hook_validate=0
for _hook in TARGET INCLUDE PRE OVERLAY FSTAB PF PKG SYSRC SERVICE CMD; do
for _hook in TARGET INCLUDE PRE OVERLAY FSTAB PF PKG SYSRC SERVICE CMD Bastillefile; do
_path=${_template_path}/${_hook}
if [ -s "${_path}" ]; then
_hook_validate=$((_hook_validate+1))