From 88ef1c646f5ff10a9c01f6675a70f3413cb89d16 Mon Sep 17 00:00:00 2001 From: tangobravo14 Date: Mon, 26 Feb 2024 08:03:46 +0000 Subject: [PATCH] re-enabled install for varafm with fixed link --- AmRRON-Vara-setup.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/AmRRON-Vara-setup.sh b/AmRRON-Vara-setup.sh index 44513a9..6f75eca 100755 --- a/AmRRON-Vara-setup.sh +++ b/AmRRON-Vara-setup.sh @@ -194,7 +194,7 @@ echo "VARA FM: ${VARAFMVER} available" #VARACHATVER=$(curl -s https://rosmodem.wordpress.com/ | grep -m 1 "VARA Chat" | awk -F "VARA Chat" '{print $2}' | awk -F " " '{print $1}' | sed s/\ //g) -VARAFMLINK=https://downloads.winlink.org/VARA%20Products/VARA%20HF%20${VARAFMVER}%20setup.zip +VARAFMLINK=https://downloads.winlink.org/VARA%20Products/VARA%20FM%20${VARAFMVER}%20setup.zip echo "VARA FM URL: ${VARAFMLINK}" VARAHFLINK=https://downloads.winlink.org/VARA%20Products/VARA%20HF%20${VARAHFVER}%20setup.zip @@ -319,23 +319,23 @@ fi cd $HOME/Downloads wget ${VARAHFLINK} || { ERRCODE="Failed to download VARA HF"; errors; return; } -#wget ${VARAFMLINK} || -#{ ERRCODE="Failed to download VARA FM"; errors; return; } +wget ${VARAFMLINK} || +{ ERRCODE="Failed to download VARA FM"; errors; return; } -#unzip VARA\ FM\ $VARAFMVER*.zip || -#{ ERRCODE="Failed to unzip VARA FM"; errors; return; } +unzip VARA\ FM\ $VARAFMVER*.zip || +{ ERRCODE="Failed to unzip VARA FM"; errors; return; } unzip VARA\ HF\ $VARAHFVER*.zip || { ERRCODE="Failed to unzip VARA HF"; errors; return; } #unzip VARA\ Chat\ $VARACHATVER\ Setup.zip || #{ ERRCODE="Failed to unzip VARA Chat"; errors; return; } -rm VARA\ HF\ $VARAHFVER*.zip || -#rm VARA\ FM\ $VARAFMVER*.zip VARA\ HF\ $VARAHFVER*.zip || #VARA\ Chat\ $VARACHATVER\ Setup.zip || +#rm VARA\ HF\ $VARAHFVER*.zip || +rm VARA\ FM\ $VARAFMVER*.zip VARA\ HF\ $VARAHFVER*.zip || #VARA\ Chat\ $VARACHATVER\ Setup.zip || { ERRCODE="Failed to remove VARA zip files"; errors; return; } #install VARA FM with wine -#/usr/bin/wine VARA\ FM\ setup\ \(Run\ as\ Administrator\).exe || -#{ ERRCODE="Failed to install VARA FM"; errors; return; } +/usr/bin/wine VARA\ FM\ setup\ \(Run\ as\ Administrator\).exe || +{ ERRCODE="Failed to install VARA FM"; errors; return; } #install VARA with wine /usr/bin/wine VARA\ setup\ \(Run\ as\ Administrator\).exe || { ERRCODE="Failed to install VARA HF"; errors; return; }