mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
v4 statrep update
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user