v4 statrep update

This commit is contained in:
tangobravo14
2023-07-20 09:25:43 -05:00
parent 03cbe95cc1
commit 97c36f0f0e
+7
View File
@@ -1664,6 +1664,13 @@ function amrronforms_install() {
{ ERRCODE="Failed to download AmRRON StatRep V2"; errors; return; }
fi
if [[ -f $FORMSDIR/amrron_statrep_V4.0.html ]]; then
echo "AmRRON STATREP V4 is already installed"
else
cd $FORMSDIR && wget -N https://amrron.com/wp-content/uploads/2023/02/amrron_statrep_V4.0.html.zip ||
{ ERRCODE="Failed to download AmRRON StatRep V4"; errors; return; }
fi
if ls $FORMSDIR/*zip 1>/dev/null 2>&1; then
echo "Extracting forms..."
unzip -o $FORMSDIR/'*'.zip && rm $FORMSDIR/*.zip ||