From 6e73cdf7c04a51da73244604d42032f991338e20 Mon Sep 17 00:00:00 2001 From: tb14 Date: Sat, 11 Jan 2025 08:18:28 -0600 Subject: [PATCH] Modified forms download for newer Statrep 5.1 --- AmRRON-Setup-Script.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index ae07601..3ead0d6 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1848,11 +1848,11 @@ function amrronforms_install() { { ERRCODE="Failed to create directory at $HOME/.nbems/CUSTOM/"; errors; return; } fi - if ls $FORMSDIR/*V5.00.html 1>/dev/null 2>&1; then - echo "V5 of Forms are already installed" + if ls $FORMSDIR/amrron_statrep_V5.1.html 1>/dev/null 2>&1; then + echo "V5.1 of Forms are already installed" else - cd $FORMSDIR && wget -N https://amrron.com/wp-content/uploads/2023/02/V5.0-Forms.zip || - { ERRCODE="Failed to download AmRRON Custom Forms V5.00"; errors; return; } + cd $FORMSDIR && wget -N https://amrron.com/wp-content/uploads/2023/02/V5.0-Forms_27Nov2024.zip || + { ERRCODE="Failed to download AmRRON Custom Forms V5.0 27NOV24 update with STATREP 5.1"; errors; return; } fi if ls $FORMSDIR/*zip 1>/dev/null 2>&1; then