JS8Call Version checking updates

This commit is contained in:
tb14
2022-10-15 18:52:26 -05:00
parent f182dc705b
commit d1acb8de32
+2 -2
View File
@@ -268,7 +268,7 @@ else
fi
if hash js8call 2>/dev/null; then
JS8CALLVER="INSTALLED-v. Unknown"
JS8CALLVER=$(js8call --version | awk -F ' ' '{print $2}')
else
JS8CALLVER="NOT INSTALLED"
fi
@@ -439,7 +439,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)
NEWJS8CALLVER=$(curl -s http://files.js8call.com/latest.html | grep "<strong>" | grep -o [0-9].[0-9])
NEWJS8CALLVER=$(curl -s http://files.js8call.com/latest.html | grep .tgz | sed 's/.*js8call-/js8call-/;s/<.*$//' | sed 's/js8call-//;s/.tgz.*$//')
echo "100% Complete"