summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 18:17:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 18:17:38 +0000
commit50f1f0a9027dfcd3c67f49e31ad6ca8fdfe5a814 (patch)
treee0605e69388cf52ba137d733a1e316c7dbde0591 /gurpmi2
parent106088ec7089a961767fb19d83e9dc09ae02e076 (diff)
downloadurpmi-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-xgurpmi23
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 7a8172e5..323c73f7 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -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 ?",