From bd9b05431cb6a70985d745205efe96b9a24f70a2 Mon Sep 17 00:00:00 2001 From: tangobravo14 Date: Fri, 7 Jul 2023 21:03:46 -0500 Subject: [PATCH] ublox gps cleanup --- AmRRON-Setup-Script.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 33835a3..c332217 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1741,12 +1741,14 @@ function ublox_gps_setup() { #fi #Bullseye and Mint 21 -if [[ $OSCN =~ (bullseye|vanessa) ]]; then -sudo apt install -y gpsd gpsd-clients chrony gpsd-tools +if [[ $OSCN =~ (bullseye|vanessa|vera) ]]; then +sudo apt install -y gpsd gpsd-clients chrony gpsd-tools || + { ERRCODE="Failed to install gpsd related packages"; errors; return; } #Buster elif [[ $OSCN = buster ]]; then -sudo apt install -y gpsd gpsd-clients chrony python-gps +sudo apt install -y gpsd gpsd-clients chrony python-gps || + { ERRCODE="Failed to install gpsd related packages"; errors; return; } #Mint 20.3 elif [[ $OSCN = una ]]; then