Fixed last mail check.
This commit is contained in:
parent
c032de575a
commit
fcaf4144dc
|
@ -52,7 +52,7 @@ EXTS=`grep 'Updating .* extensions' $LATESTLOG \
|
||||||
|
|
||||||
LASTPDOWNLOADS=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f14`
|
LASTPDOWNLOADS=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f14`
|
||||||
LASTSDOWNLOADS=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f16`
|
LASTSDOWNLOADS=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f16`
|
||||||
LASTMAIL=`tail -1 $ARCHIVE/log/updates.csv | cut -d'"' -f20`
|
LASTMAIL=`tail -1 $ARCHIVE/monitor/updates.csv | cut -d'"' -f20`
|
||||||
|
|
||||||
if [[ "$NUM" == "x0" ]]; then
|
if [[ "$NUM" == "x0" ]]; then
|
||||||
MAIL=0
|
MAIL=0
|
||||||
|
|
Loading…
Reference in New Issue