Fix installation on Raspbian systems (#271)

Co-authored-by: Andrei Pampukha <andrei.pampukha@citynetwork.eu>
Co-authored-by: Stanislas <stanislas.lange@pm.me>
This commit is contained in:
Andréi Pampukha 2021-10-03 14:59:40 +02:00 committed by GitHub
parent 574cc06b31
commit 5f4c2f8a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ function checkOS() {
echo "Your version of Debian (${VERSION_ID}) is not supported. Please use Debian 10 Buster or later" echo "Your version of Debian (${VERSION_ID}) is not supported. Please use Debian 10 Buster or later"
exit 1 exit 1
fi fi
OS=debian # overwrite if raspbian
fi fi
elif [[ -e /etc/fedora-release ]]; then elif [[ -e /etc/fedora-release ]]; then
source /etc/os-release source /etc/os-release