Update install.sh

This commit is contained in:
kn1gh7h4wk 2020-12-25 08:46:49 -08:00 committed by GitHub
parent 1256ce419d
commit 92428b61a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,8 @@ if [ -z $DEVICES ] ; then # A GPS device must be configured for this script/serv
fi
if [ -f /boot/adsb-config.txt ] ; then # This script checks to make sure the ADSBx config file is present,
# since it has only been tested with the ADSBx Buster image
apt update
if [ "$(command -v awk | wc -l)" -eq 0 ] ; then # Installing required packages if missing
apt install gawk -y
fi