V8.04.002.2025.08.11
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 55s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 55s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -25,6 +25,7 @@ check_hooks() {
|
|||||||
ifs=$'\n\t'
|
ifs=$'\n\t'
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
declare -a files=("${VAR_WORKDIR}"/config/hooks/live/*.chroot)
|
declare -a files=("${VAR_WORKDIR}"/config/hooks/live/*.chroot)
|
||||||
|
files+=("${VAR_WORKDIR}"/config/hooks/live/*.hook.binary)
|
||||||
|
|
||||||
if (( ${#files[@]} == 0 )); then
|
if (( ${#files[@]} == 0 )); then
|
||||||
printf "\e[91m❌ No '*.chroot' files found in '%s/config/hooks/live'. \e[0m\n" "${VAR_WORKDIR}" >&2
|
printf "\e[91m❌ No '*.chroot' files found in '%s/config/hooks/live'. \e[0m\n" "${VAR_WORKDIR}" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user