implement AE42 regex edit for hamlib

This commit is contained in:
tb14
2023-03-21 15:09:46 -05:00
committed by tangobravo14
parent adff6c0f70
commit fd6977734c
+3 -3
View File
@@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
################################################################################ ################################################################################
################################################################################ ################################################################################
######################## AmRRON Setup Script v0.7.4.4 ######################## ######################## AmRRON Setup Script v0.7.4.5 ########################
######################## Created by TB-14 ######################## ######################## Created by TB-14 ########################
######################## 06 NOV 22 ######################## ######################## 21 MAR 23 ########################
################################################################################ ################################################################################
################################################################################ ################################################################################
# #
@@ -374,7 +374,7 @@ fi
echo "Please wait while I determine the most current versions available...." echo "Please wait while I determine the most current versions available...."
NEWHAMLIB=$(curl -s https://sourceforge.net/projects/hamlib/files/latest/download | \ NEWHAMLIB=$(curl -s https://sourceforge.net/projects/hamlib/files/latest/download | \
grep -o https://downloads.sourceforge.net/project/hamlib/hamlib/[0-9].[0-9] | \ grep -o https://downloads.sourceforge.net/project/hamlib/hamlib/[^/]*/ | \
head -n 1 | awk -F "/" '{print $7}') head -n 1 | awk -F "/" '{print $7}')
if [[ $NEWHAMLIB == "" ]]; then if [[ $NEWHAMLIB == "" ]]; then
NEWHAMLIB="SERVER DOWN" NEWHAMLIB="SERVER DOWN"