From 92428b61a3faec6415ef3510b1be7bfb0cd1c419 Mon Sep 17 00:00:00 2001 From: kn1gh7h4wk <49842470+kn1gh7h4wk@users.noreply.github.com> Date: Fri, 25 Dec 2020 08:46:49 -0800 Subject: [PATCH] Update install.sh --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cea4661..ce4a7e8 100755 --- a/install.sh +++ b/install.sh @@ -14,8 +14,10 @@ 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 + apt install gawk -y fi if [ "$(command -v bc | wc -l)" -eq 0 ] ; then # Installing required packages if missing apt install bc -y