Add os-release check
This commit is contained in:
@ -72,7 +72,7 @@ function distroCheck {
|
|||||||
echo "######## Distribution Section #########" >> $DEBUG_LOG
|
echo "######## Distribution Section #########" >> $DEBUG_LOG
|
||||||
echo "#######################################" >> $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
|
echo "Distribution Version: $TMP" >> $DEBUG_LOG
|
||||||
|
|
||||||
function compareWhitelist {
|
function compareWhitelist {
|
||||||
|
Reference in New Issue
Block a user