mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-12 08:02:36 +00:00
If it's a docker container, consider the OS is supported
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
parent
bd9cc7cbb7
commit
733dce1c4c
@ -346,6 +346,9 @@ os_check() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# If it is a docker container, we can assume the OS is supported
|
||||||
|
[ -n "${DOCKER_VERSION}" ] && valid_os=true && valid_version=true
|
||||||
|
|
||||||
local finalmsg
|
local finalmsg
|
||||||
if [ "$valid_os" = true ]; then
|
if [ "$valid_os" = true ]; then
|
||||||
log_write "${TICK} Distro: ${COL_GREEN}${detected_os^}${COL_NC}"
|
log_write "${TICK} Distro: ${COL_GREEN}${detected_os^}${COL_NC}"
|
||||||
|
Loading…
Reference in New Issue
Block a user