Update install.sh
This commit is contained in:
parent
1256ce419d
commit
92428b61a3
|
@ -14,6 +14,8 @@ if [ -z $DEVICES ] ; then # A GPS device must be configured for this script/serv
|
||||||
fi
|
fi
|
||||||
if [ -f /boot/adsb-config.txt ] ; then # This script checks to make sure the ADSBx config file is present,
|
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
|
# 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
|
if [ "$(command -v awk | wc -l)" -eq 0 ] ; then # Installing required packages if missing
|
||||||
apt install gawk -y
|
apt install gawk -y
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue