From 3cc56fb8fed7648a4b9651f91abf9906e2b581bb Mon Sep 17 00:00:00 2001 From: thetechprepper Date: Sun, 5 Jul 2026 08:17:28 -0700 Subject: [PATCH] email - Installed Thunderbird for future off-grid email application --- scripts/install-thunderbird.sh | 17 +++++++++++++++++ scripts/install.sh | 6 ++++-- tests/test-thunderbird.sh | 7 +++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100755 scripts/install-thunderbird.sh create mode 100755 tests/test-thunderbird.sh diff --git a/scripts/install-thunderbird.sh b/scripts/install-thunderbird.sh new file mode 100755 index 0000000..3e3c302 --- /dev/null +++ b/scripts/install-thunderbird.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# +# Author : Gaston Gonzalez +# Date : 5 July 2025 +# Purpose : Install Thunderbird email client +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 +. ../overlay/opt/emcomm-tools/bin/et-common + +et-log "Installing Thunderbird..." + +apt install \ + thunderbird \ + -y diff --git a/scripts/install.sh b/scripts/install.sh index d655754..3147437 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,8 +2,7 @@ # # Author : Gaston Gonzalez # Date : 16 March 2024 -# Updated : 3 July 2026 -# Purpose : Main installer for EmComm Tools Community (ETC) +# Updated : 5 July 2026 # Purpose : Main installer for EmComm Tools Community (ETC) . ./env.sh . ./functions.sh @@ -126,3 +125,6 @@ exitIfNotRoot # Debrand Ubuntu ./debrand.sh + +# Email +./install-thunderbird.sh diff --git a/tests/test-thunderbird.sh b/tests/test-thunderbird.sh new file mode 100755 index 0000000..0cd34d8 --- /dev/null +++ b/tests/test-thunderbird.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 5 July 2026 +# Purpose : Test Thunderbird installation + +OUT=$(which thunderbird) +exit $?