diff --git a/lib/lib_check_hooks.sh b/lib/lib_check_hooks.sh index 199befe..222fa8d 100644 --- a/lib/lib_check_hooks.sh +++ b/lib/lib_check_hooks.sh @@ -25,6 +25,7 @@ check_hooks() { ifs=$'\n\t' shopt -s nullglob declare -a files=("${VAR_WORKDIR}"/config/hooks/live/*.chroot) + files+=("${VAR_WORKDIR}"/config/hooks/live/*.hook.binary) if (( ${#files[@]} == 0 )); then printf "\e[91m❌ No '*.chroot' files found in '%s/config/hooks/live'. \e[0m\n" "${VAR_WORKDIR}" >&2