mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
crypto - Added Paranoia File & Text Encryption. Thanks JJS!
This commit is contained in:
Executable
+27
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 27 March 2026
|
||||
# Purpose : Install Paranoia File & Text Encryption
|
||||
|
||||
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
|
||||
|
||||
APP=pfte
|
||||
VERSION=15.0.8-1
|
||||
DOWNLOAD_FILE="${APP}_${VERSION}_amd64.deb"
|
||||
|
||||
et-log "Installing ${APP} ${VERSION}..."
|
||||
|
||||
if [[ ! -e ${ET_DIST_DIR}/${DOWNLOAD_FILE} ]]; then
|
||||
|
||||
URL="https://paranoiaworks.mobi/download/files/${DOWNLOAD_FILE}"
|
||||
|
||||
download_with_retries ${URL} ${DOWNLOAD_FILE}
|
||||
mv ${DOWNLOAD_FILE} ${ET_DIST_DIR}
|
||||
fi
|
||||
|
||||
DEBIAN_FRONTEND=noninteractive dpkg -i "${ET_DIST_DIR}/${DOWNLOAD_FILE}"
|
||||
Reference in New Issue
Block a user