X-Git-Url: https://git.distorted.org.uk/~mdw/rcheck/blobdiff_plain/4eccc107ad43c51d92b0a71b186973cf5a9f6cd0..ace1b15b130fc1633cd42add26c5110629f14d41:/check.d/50.updates diff --git a/check.d/50.updates b/check.d/50.updates index 0444fa1..947610d 100755 --- a/check.d/50.updates +++ b/check.d/50.updates @@ -64,5 +64,7 @@ if sec: plural = len(sec) != 1 print 'W: security updates available for %d %s' % \ (len(sec), plural and 'packages' or 'package') +for pkg in sorted(updates, key = lambda p: p.name): + print 'I: %s %s' % (pkg in sec and '!' or ' ', pkg.name) ###----- That's all, folks --------------------------------------------------