mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-25 06:55:46 +01:00
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}
|
||||
_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))
|
||||
|
||||
Reference in New Issue
Block a user