mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
et-aircraft - Added et-aircraft-app front-end application to the installer
This commit is contained in:
Executable
+27
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 9 July 2025
|
||||
# Purpose : Install et-aircraft-app
|
||||
set -e
|
||||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||
trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR
|
||||
|
||||
. ./env.sh
|
||||
|
||||
APP=et-aircraft-app
|
||||
VERSION=1.0.0
|
||||
DOWNLOAD_FILE="${APP}_${VERSION}_amd64.deb"
|
||||
|
||||
et-log "Installing ${APP} ${VERSION}..."
|
||||
|
||||
if [[ ! -e ${ET_DIST_DIR}/${DOWNLOAD_FILE} ]]; then
|
||||
|
||||
URL="https://github.com/thetechprepper/et-aircraft-app/releases/download/${VERSION}/${DOWNLOAD_FILE}"
|
||||
|
||||
et-log "Downloading ${APP}: ${URL}"
|
||||
curl -s -L -o ${DOWNLOAD_FILE} --fail ${URL}
|
||||
|
||||
mv ${DOWNLOAD_FILE} ${ET_DIST_DIR}
|
||||
fi
|
||||
|
||||
DEBIAN_FRONTEND=noninteractive dpkg -i "${ET_DIST_DIR}/${DOWNLOAD_FILE}"
|
||||
+5
-2
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 16 March 2024
|
||||
# Updated : 6 July 2025
|
||||
# Updated : 9 July 2025
|
||||
# Purpose : Main installer for EmComm Tools Community (ETC)
|
||||
|
||||
. ./env.sh
|
||||
@@ -74,5 +74,8 @@ exitIfNotRoot
|
||||
./install-sdr-tools.sh
|
||||
./install-dump1090.sh
|
||||
|
||||
# Install ETC application maps
|
||||
# Install ETC custom maps
|
||||
./download-et-maps.sh
|
||||
|
||||
# Install ETC applications
|
||||
./install-et-aircraft.sh
|
||||
|
||||
Reference in New Issue
Block a user