diff --git a/AmRRON-Vara-setup.sh b/AmRRON-Vara-setup.sh index d0a6318..92f8fff 100755 --- a/AmRRON-Vara-setup.sh +++ b/AmRRON-Vara-setup.sh @@ -1,9 +1,9 @@ #!/bin/bash ################################################################################ ################################################################################ - ####################### AmRRON Vara Setup v.1.1.1 ###################### + ####################### AmRRON Vara Setup v.1.2 ###################### ####################### Created by TB-14 ###################### - ####################### 05 APR 2025 ###################### + ####################### 01 JUL 2025 ###################### ################################################################################ ################################################################################ @@ -392,7 +392,7 @@ echo "Driver already installed" fi -cd $HOME/Downloads && rm VARA* 2>/dev/null && wget ${VARAHFLINK} || +cd $HOME/Downloads && if ls VARA* 1> /dev/null 2>&1; then rm VARA* 2>/dev/null; fi && wget ${VARAHFLINK} || { ERRCODE="Failed to download VARA HF. Visit https://downloads.winlink.org/ to download appropriate file. Unzip this file and install from terminal using the command: wine "; errors; return; } unzip VARA\ HF\ $VARAHFVER*.zip || @@ -429,7 +429,7 @@ else echo "Driver already installed" fi -cd $HOME/Downloads/ && rm VARA* 2>/dev/null && wget ${VARAFMLINK} || +cd $HOME/Downloads && if ls VARA* 1> /dev/null 2>&1; then rm VARA* 2>/dev/null; fi && wget ${VARAFMLINK} || { ERRCODE="Failed to download VARA FM. Visit https://downloads.winlink.org/ to download appropriate file. Unzip this file and install from terminal using the command: wine "; errors; return; } unzip VARA\ FM\ $VARAFMVER*.zip || diff --git a/changelogs/CHANGELOG-Vara-setup.md b/changelogs/CHANGELOG-Vara-setup.md index b57c308..55f5325 100644 --- a/changelogs/CHANGELOG-Vara-setup.md +++ b/changelogs/CHANGELOG-Vara-setup.md @@ -1,3 +1,5 @@ +# Version 1.2 +- fix error on fresh install where varafm/varahf will not download # Version 1.1.1 - Updated incorrect contact email. - Updated for newest VarAC version.