1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-03 12:40:56 +00:00

Add os-release check

This commit is contained in:
Dan Schaper 2016-07-14 11:35:52 -07:00 committed by GitHub
parent f45eb84d6b
commit b011e5f838

View File

@ -72,7 +72,7 @@ function distroCheck {
echo "######## Distribution Section #########" >> $DEBUG_LOG
echo "#######################################" >> $DEBUG_LOG
TMP=$(cat /etc/lsb-release/ || echo "Failed to find lsb")
TMP=$(cat /etc/lsb-release/ || cat /etc/os-release || echo "Failed to find release")
echo "Distribution Version: $TMP" >> $DEBUG_LOG
function compareWhitelist {