Modified forms download for newer Statrep 5.1

This commit is contained in:
tb14
2025-01-11 08:18:28 -06:00
parent 7ad3f3d266
commit 6e73cdf7c0
+4 -4
View File
@@ -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