From 6311afbc0ba4ff5d9c108bea81019ed5e839947f Mon Sep 17 00:00:00 2001 From: tangobravo14 Date: Mon, 26 Feb 2024 21:32:27 +0000 Subject: [PATCH] further testing wsjtx --- AmRRON-Setup-Script.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 9e30e80..8bf29d8 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -466,11 +466,12 @@ fi echo "80% Complete" -NEWELECTRUM=$(curl -s https://github.com/spesmilo/electrum/blob/master/RELEASE-\ -NOTES | grep Release | head -n 1 | grep -o '[0-9].[0-9].[0-9]') -if [[ $NEWELECTRUM == "" ]]; then - NEWELECTRUM="SERVER DOWN" -fi +#NEWELECTRUM=$(curl -s https://github.com/spesmilo/electrum/blob/master/RELEASE-\ +#NOTES | grep Release | head -n 1 | grep -o '[0-9].[0-9].[0-9]') +#if [[ $NEWELECTRUM == "" ]]; then +# NEWELECTRUM="SERVER DOWN" +#fi +NEWELECTRUM="SERVER DOWN" NEWVOACAPL=$(curl -sL https://api.github.com/repos/jawatson/voacapl/releases/latest | grep tag_name | awk -F 'v.' '{print $2}' | sed s/\",//) if [[ $NEWVOACAPL == "" ]]; then @@ -507,7 +508,7 @@ fi #NEWWSJTX=$(curl -s https://physics.princeton.edu/pulsar/K1JT/wsjtx.html | grep -o "wsjtx_[0-9].[0-9].[0-9]*" | awk -F "_" '{print $2}' | head -n 1) #NEWWSJTX=$(curl -sL https://sourceforge.net/projects/wsjt/files | grep -o "wsjtx-[0-9].[0-9].[0-9]*" | awk -F "-" '{print $2}' | head -n 1) -NEWWSJTX=$(curl -sL https://sourceforge.net/projects/wsjt/files | grep "released" | awk -F "title=" '{print $2}' | awk -F "/" '{print $2}') +NEWWSJTX=$(curl -sL https://sourceforge.net/projects/wsjt/files | grep "released" | awk -F "title=" '{print $2}' | awk -F "/" '{print $2}' | awk -F "wsjtx-" '{print $2}') NEWJS8CALLVER=$(curl -s http://files.js8call.com/latest.html | grep .tgz | sed 's/.*js8call-/js8call-/;s/<.*$//' | sed 's/js8call-//;s/.tgz.*$//') echo "100% Complete"