From 673e11d3543e594f0da41548904e567658736d9f Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Sat, 6 Feb 2021 07:16:31 -0600 Subject: [PATCH] fix gpsupdate tool --- functions/utility.function | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/utility.function b/functions/utility.function index 45e8dfb..791901f 100644 --- a/functions/utility.function +++ b/functions/utility.function @@ -433,6 +433,11 @@ sudo apt install -y zygrib-maps # GPS update tool ################################## GPSUPDATE(){ +#remove existing file if needed before installing +if [ -f $HOME/bin/gpsupdate ]; then +rm $HOME/bin/gpsupdate +fi + cd $HOME/bin wget https://raw.githubusercontent.com/km4ack/pi-scripts/master/gpsupdate chmod +x gpsupdate