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