1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update local_facts.fact

This commit is contained in:
A Holt 2020-10-27 16:57:56 -04:00 committed by GitHub
parent 424d0f4e14
commit 01f048c54d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,8 +34,8 @@ if tmp=$(grep ^ID= /etc/os-release); then
OS=${OS//\"/} # Remove all '"'
fi
if [ -f /etc/rpi-issue ]; then
OS="raspbian"
fi
OS="raspbian" # For 64-bit Raspberry Pi OS which contains "ID=debian" as
fi # of 2020: https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/6
if tmp=$(grep ^VERSION_ID= /etc/os-release); then
VERSION_ID=$(echo $tmp | cut -d= -f2)