mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
local_facts.fact: bash was failing on comments in case statement
This commit is contained in:
parent
6451c98031
commit
5db1c4a668
1 changed files with 6 additions and 4 deletions
|
@ -21,21 +21,23 @@ OS_VER=$OS-$VERSION_ID
|
|||
DHCPCD_PATH=`which dhcpcd`
|
||||
NM_PATH=`which NetworkManager`
|
||||
|
||||
case $OS_VER in
|
||||
# Previously supported Linux distributions / versions:
|
||||
#"fedora-18" | \
|
||||
#"fedora-22" | \
|
||||
#"debian-8" | \
|
||||
#"debian-9" | \
|
||||
"debian-10" | \
|
||||
#"ubuntu-16" | \
|
||||
#"ubuntu-17" | \
|
||||
#"ubuntu-18" | \
|
||||
#"ubuntu-19" | \
|
||||
"ubuntu-20" | \
|
||||
"linuxmint-20" | \
|
||||
#"centos-7" | \
|
||||
#"raspbian-8" | \
|
||||
#"raspbian-9" | \
|
||||
|
||||
case $OS_VER in
|
||||
"debian-10" | \
|
||||
"ubuntu-20" | \
|
||||
"linuxmint-20" | \
|
||||
"raspbian-10")
|
||||
;;
|
||||
*) OS_VER="OS_not_supported"
|
||||
|
|
Loading…
Add table
Reference in a new issue