From 80213b60cf1c9c3231938a83330831b932d795b3 Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Wed, 30 Apr 2025 07:40:41 -0700 Subject: [PATCH] GPSBabel - Added GPSBabel CLI and GUI to support various GPS file format conversions --- scripts/install-gis-tools.sh | 3 +++ tests/test-gpsbabel.sh | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100755 tests/test-gpsbabel.sh diff --git a/scripts/install-gis-tools.sh b/scripts/install-gis-tools.sh index 4ecd9f5..616010d 100755 --- a/scripts/install-gis-tools.sh +++ b/scripts/install-gis-tools.sh @@ -2,6 +2,7 @@ # # Author : Gaston Gonzalez # Date : 26 April 2025 +# Updated : 30 April 2025 # Purpose : Installs misc GIS tools from apt set -e trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG @@ -10,6 +11,8 @@ trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR et-log "Installing GIS tools..." apt install \ + gpsbabel \ + gpsbabel-gui \ sqlite3 \ qgis \ -y diff --git a/tests/test-gpsbabel.sh b/tests/test-gpsbabel.sh new file mode 100755 index 0000000..fadb749 --- /dev/null +++ b/tests/test-gpsbabel.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 30 April 2025 +# Purpose : Test GPSBabel installation + +OUT=$(which gpsbabel && which gpsbabelfe) +exit $?