mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-06 04:34:19 +01:00
Merge pull request #236 from bmac2/master
update to include Bastillefile as a valid HOOK in verify process
This commit is contained in:
@@ -54,7 +54,7 @@ verify_template() {
|
|||||||
_template_path=${bastille_templatesdir}/${BASTILLE_TEMPLATE}
|
_template_path=${bastille_templatesdir}/${BASTILLE_TEMPLATE}
|
||||||
_hook_validate=0
|
_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}
|
_path=${_template_path}/${_hook}
|
||||||
if [ -s "${_path}" ]; then
|
if [ -s "${_path}" ]; then
|
||||||
_hook_validate=$((_hook_validate+1))
|
_hook_validate=$((_hook_validate+1))
|
||||||
|
|||||||
Reference in New Issue
Block a user