diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-10-14 11:16:16 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-10-14 11:16:16 +0000 |
commit | 731d22214a646dfcb1c5ced925377ce44ba3c3d6 (patch) | |
tree | f54e967c9c4659e342374cbe30d5d830842c2ff2 /usr.sbin | |
parent | 822f955d53820d205eb29f77c81993d8a978cd25 (diff) |
be a bit more specific, write the list of unsigned packages.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 66839b9f13c..f7e3ba2bc86 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.348 2009/10/14 11:08:16 espie Exp $ +# $OpenBSD: pkg_add,v 1.349 2009/10/14 11:16:15 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -410,7 +410,7 @@ sub really_add $state->{packages_with_sig}++; } } else { - $state->{packages_without_sig}++; + $state->{packages_without_sig}{$plist->pkgname} = 1; $state->{check_digest} = 0; } } @@ -870,7 +870,7 @@ OpenBSD::PackingElement::Lib::ensure_ldconfig($state); if ($state->{packages_with_sig}) { print "Packages with signatures: ", $state->{packages_with_sig}; if ($state->{packages_without_sig}) { - print " UNSIGNED PACKAGES: ", $state->{packages_without_sig}; + print ". UNSIGNED PACKAGES: ", join(', ', keys %{$state->{packages_without_sig}}); } print "\n"; } |