Skip FTL update check if $PIHOLE_SKIP_FTL_CHECK is set to true

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König
2025-03-08 14:38:00 +01:00
parent f3e04117f6
commit 463086ef23
2 changed files with 31 additions and 25 deletions

View File

@@ -2238,7 +2238,7 @@ main() {
exit 1
fi
else
printf " %b %bPIHOLE_SKIP_FTL_CHECK env variable set to true - skipping architecture check%b\\n" "${INFO}" "${COL_LIGHT_GREEN}" "${COL_NC}"
printf " %b %bPIHOLE_SKIP_FTL_CHECK env variable set to true - skipping architecture check%b\\n" "${INFO}" "${COL_YELLOW}" "${COL_NC}"
fi
if [[ "${fresh_install}" == false ]]; then
@@ -2291,7 +2291,7 @@ main() {
exit 1
fi
else
printf " %b %bPIHOLE_SKIP_FTL_CHECK env variable set to true - skipping FTL binary installation%b\\n" "${INFO}" "${COL_LIGHT_GREEN}" "${COL_NC}"
printf " %b %bPIHOLE_SKIP_FTL_CHECK env variable set to true - skipping FTL binary installation%b\\n" "${INFO}" "${COL_YELLOW}" "${COL_NC}"
fi
# Install and log everything to a file