mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 02:13:44 +01:00
Print package names
This commit is contained in:
parent
c7a4b60654
commit
cfd3cfcff8
@ -41,6 +41,8 @@ def main():
|
|||||||
|
|
||||||
for update_type in pkg_updates:
|
for update_type in pkg_updates:
|
||||||
print "%s: %i" % (update_type, len(pkg_updates[update_type]))
|
print "%s: %i" % (update_type, len(pkg_updates[update_type]))
|
||||||
|
for pkg in pkg_updates[update_type]:
|
||||||
|
print " %s" % pkg
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user