mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
GIS - Added misc GIS tools: QGIS and SQLite
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 26 April 2025
|
||||||
|
# Purpose : Installs misc GIS tools from apt
|
||||||
|
set -e
|
||||||
|
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||||
|
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||||
|
|
||||||
|
et-log "Installing GIS tools..."
|
||||||
|
|
||||||
|
apt install \
|
||||||
|
sqlite3 \
|
||||||
|
qgis \
|
||||||
|
-y
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 25 April 2025
|
# Date : 25 April 2025
|
||||||
# Purpose : Installs Python 3
|
# Purpose : Installs Python 2
|
||||||
set -e
|
set -e
|
||||||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||||
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||||
|
|||||||
+2
-1
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 16 March 2024
|
# Date : 16 March 2024
|
||||||
# Updated : 25 April 2025
|
# Updated : 26 April 2025
|
||||||
# Purpose : Main installer for EmComm Tools Community (ETC)
|
# Purpose : Main installer for EmComm Tools Community (ETC)
|
||||||
|
|
||||||
. ./env.sh
|
. ./env.sh
|
||||||
@@ -65,3 +65,4 @@ exitIfNotRoot
|
|||||||
./install-mbtileserver.sh
|
./install-mbtileserver.sh
|
||||||
./install-python.sh
|
./install-python.sh
|
||||||
./install-mbutil.sh
|
./install-mbutil.sh
|
||||||
|
./install-gis-tools.sh
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 25 April 2025
|
||||||
|
# Purpose : Test QGIS installation
|
||||||
|
|
||||||
|
OUT=$(which qgis)
|
||||||
|
exit $?
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Author : Gaston Gonzalez
|
||||||
|
# Date : 25 April 2025
|
||||||
|
# Purpose : Test SQLite installation
|
||||||
|
|
||||||
|
OUT=$(sqlite3 -version | grep "^3[.]")
|
||||||
|
exit $?
|
||||||
Reference in New Issue
Block a user