diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 18:17:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 18:17:38 +0000 |
commit | 50f1f0a9027dfcd3c67f49e31ad6ca8fdfe5a814 (patch) | |
tree | e0605e69388cf52ba137d733a1e316c7dbde0591 /gurpmi2 | |
parent | 106088ec7089a961767fb19d83e9dc09ae02e076 (diff) | |
download | urpmi-50f1f0a9027dfcd3c67f49e31ad6ca8fdfe5a814.tar urpmi-50f1f0a9027dfcd3c67f49e31ad6ca8fdfe5a814.tar.gz urpmi-50f1f0a9027dfcd3c67f49e31ad6ca8fdfe5a814.tar.bz2 urpmi-50f1f0a9027dfcd3c67f49e31ad6ca8fdfe5a814.tar.xz urpmi-50f1f0a9027dfcd3c67f49e31ad6ca8fdfe5a814.zip |
create urpm::signature out of urpm.pm
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ BEGIN { #- set up a safe path and environment use gurpmi; use urpm::install; use urpm::media; +use urpm::signature; use Gtk2; #- GUI globals @@ -259,7 +260,7 @@ sub do_install_3 () { ); my %transaction_sources_install = %{$urpm->extract_packages_to_install(\%transaction_sources, $state) || {}}; if ($urpm->{options}{'verify-rpm'} || grep { $_->{'verify-rpm'} } @{$urpm->{media}}) { - my @bad_signatures = $urpm->check_sources_signatures(\%transaction_sources_install, \%transaction_sources); + my @bad_signatures = urpm::signature::check($urpm, \%transaction_sources_install, \%transaction_sources); if (@bad_signatures) { ask_continue_blocking(N( "The following packages have bad signatures:\n%s\n\nDo you want to continue installation ?", |