Fixed last mail check and separator for max extensions.

This commit is contained in:
Achim D. Brucker 2018-04-01 19:00:21 +01:00
parent fcaf4144dc
commit 57b0b82326
1 changed files with 5 additions and 1 deletions

View File

@ -50,11 +50,15 @@ EXTS=`grep 'Updating .* extensions' $LATESTLOG \
| sed -e 's/including forums)/\\"/' \
| sed -e 's/ //g'`
if [[ "$EXTS" == "" ]]; then
EXTS=";"
fi
LASTPDOWNLOADS=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f14`
LASTSDOWNLOADS=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f16`
LASTMAIL=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f20`
if [[ "$NUM" == "x0" ]]; then
if [[ "$NUM" == "0" ]]; then
MAIL=0
else
if [[ "$LASTPDOWNLOADS$LASTSDOWNLOADS" == "$PDOWNLOADS$SDOWNLOADS" ]]; then