mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-07 13:42:40 +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
|
||||
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
|
||||
if [ "$valid_os" = true ]; then
|
||||
log_write "${TICK} Distro: ${COL_GREEN}${detected_os^}${COL_NC}"
|
||||
|
Loading…
Reference in New Issue
Block a user