From 06ddfd3067b1d19e07819887e8e0c2f1a85141ac Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 4 Jan 2006 10:29:15 +0000 Subject: rurpmi shouldn't allow to install unsigned packages --- urpmi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urpmi b/urpmi index e77a9161..d7891560 100755 --- a/urpmi +++ b/urpmi @@ -612,7 +612,8 @@ foreach my $set (@{$state->{transaction} || []}) { my $msg = N("The following packages have bad signatures"); my $msg2 = N("Do you want to continue installation ?"); my $p = join "\n", @bad_signatures; - if ($urpm->{options}{auto}) { + #- rurpmi always abort here + if ($urpm->{options}{auto} || $restricted) { message("$msg:\n$p\n"); exit 1; } else { -- cgit v1.2.1