diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-01-04 10:29:15 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-01-04 10:29:15 +0000 |
commit | 06ddfd3067b1d19e07819887e8e0c2f1a85141ac (patch) | |
tree | bbd8d564e57e4497cbbcd291585aa1e9faaef4af | |
parent | a00dd7d0ab1462c98264d9fe53a31a3d1c635d23 (diff) | |
download | urpmi-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-x | urpmi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |