[Pkg-wmaker-commits] [wmbiff] 19/38: print the detailed version
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:03:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_16
in repository wmbiff.
commit 631ea6b0db5b940cdff3968ff6bb5ad686fa9e36
Author: bluehal <bluehal>
Date: Thu Apr 17 01:56:22 2003 +0000
print the detailed version
---
scripts/security.debian.rb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/security.debian.rb b/scripts/security.debian.rb
index d1a5906..726b296 100755
--- a/scripts/security.debian.rb
+++ b/scripts/security.debian.rb
@@ -164,9 +164,11 @@ File.open('/var/lib/dpkg/status').each { |ln|
debugmsg "%d installed, %d available" % [ installed.length, available.length ]
updatedcount = 0
+updated = Array.new
( installed.keys & available.keys ).each { |pkg|
if(version_a_gt_b(available[pkg], installed[pkg])) then
updatedcount += 1
+ updated.push(pkg + ": #{available[pkg]} > #{installed[pkg]}")
end
}
@@ -177,3 +179,5 @@ puts (if(updatedcount > 0) then
"%d old" % installed.length
end
)
+
+puts updated.join("\n")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list