From 7d28c61bdc37752881311cef1a55e83d0bef5c6c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 31 Aug 2012 16:46:04 +0000 Subject: (_check) slighty better security messages --- urpm/signature.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm') diff --git a/urpm/signature.pm b/urpm/signature.pm index 85f15c29..95d80f9f 100644 --- a/urpm/signature.pm +++ b/urpm/signature.pm @@ -74,13 +74,13 @@ sub _check { if (!$medium) { if ($verif =~ /OK \(\(none\)\)/) { $verif =~ s/\n//g; - $urpm->{info}(N("SECURITY: The following package has no signature (%s): %s\n", $verif, $filepath)); + $urpm->{info}(N("SECURITY: The following package is _NOT_ signed (%s): %s\n", $verif, $filepath)); } next; } #- check whether verify-rpm is specifically disabled for this medium if (defined $medium->{'verify-rpm'} && !$medium->{'verify-rpm'}) { - $urpm->{info}(N("SECURITY: NOT checking %s\n", $filepath)); + $urpm->{info}(N("SECURITY: NOT checking package \"%s\" (due to configuration)\n", $filepath)); next; } -- cgit v1.2.1