From 580d74db938490815af26f5861b13785b95a96ed Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 21 Aug 2020 18:17:18 -0500 Subject: [PATCH] add jtdx --- functions/additional.function | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/functions/additional.function b/functions/additional.function index 48b98b6..981d548 100644 --- a/functions/additional.function +++ b/functions/additional.function @@ -531,4 +531,24 @@ cd $HOME rm -rf $DIRXLOG } +################################## +# JTDX +################################## + +JTDX(){ +cd $HOME +#curl won't work here. Returns "forbidden" Use wget instead +wget -q https://www.jtdx.tech/en/ +VER=$(grep armhf.deb index.html | awk '{print $2}' | sed 's/"//g' | sed 's/href=\/downloads\/Linux\///') +echo $VER +rm index.html + +wget https://www.jtdx.tech/downloads/Linux/$VER + +sudo dpkg -i $VER +sudo apt-get --fix-broken -y install +sudo dpkg -i $VER +rm $VER +} +