diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/d-i_parse_logs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/d-i_parse_logs.sh b/bin/d-i_parse_logs.sh index 406e6ba4..82eb6526 100755 --- a/bin/d-i_parse_logs.sh +++ b/bin/d-i_parse_logs.sh @@ -30,6 +30,10 @@ if [ $(grep -c failed $TMPFILE 2>/dev/null ) -gt 1 ] ; then for FILE in $(grep failed $TMPFILE | awk '{print $2}' FS=href= | cut -d '"' -f2) ; do echo Warning: $FILE failed done +elif [ $(grep buildd $TMPFILE 2>/dev/null|grep -v "$(date +'%b %d')"|grep -v "See also"|wc -l ) -gt 0 ] ; then + echo "Warning: outdated builds:" + figlet outdated builds + grep buildd $TMPFILE 2>/dev/null|grep -v "$(date +'%b %d')"|grep -v "See also" else figlet ok fi |