summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-04 10:29:15 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-04 10:29:15 +0000
commit06ddfd3067b1d19e07819887e8e0c2f1a85141ac (patch)
treebbd8d564e57e4497cbbcd291585aa1e9faaef4af
parenta00dd7d0ab1462c98264d9fe53a31a3d1c635d23 (diff)
downloadurpmi-06ddfd3067b1d19e07819887e8e0c2f1a85141ac.tar
urpmi-06ddfd3067b1d19e07819887e8e0c2f1a85141ac.tar.gz
urpmi-06ddfd3067b1d19e07819887e8e0c2f1a85141ac.tar.bz2
urpmi-06ddfd3067b1d19e07819887e8e0c2f1a85141ac.tar.xz
urpmi-06ddfd3067b1d19e07819887e8e0c2f1a85141ac.zip
rurpmi shouldn't allow to install unsigned packages
-rwxr-xr-xurpmi3
1 files changed, 2 insertions, 1 deletions
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 {