From c2ce26ddd4b45f0614a5fa55c2e95afabf88924a Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 16 Oct 2003 09:46:36 +0000 Subject: added pubkey in update management. --- perl-install/crypto.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/crypto.pm') diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm index 8fa979678..60ac69d4d 100644 --- a/perl-install/crypto.pm +++ b/perl-install/crypto.pm @@ -132,11 +132,12 @@ sub getPackages { log::l("no updates available, bailing out"); return; } + my $fpubkey = getFile("base/pubkey", $mirror); #- extract hdlist of crypto, then depslist. require pkgs; my $update_medium = pkgs::psUsingHdlist($prefix, 'ftp', $packages, "hdlist-updates.cz", "1u", "RPMS", - "Updates for Mandrake Linux " . version(), 1, $fhdlist); + "Updates for Mandrake Linux " . version(), 1, $fhdlist, $fpubkey); if ($update_medium) { log::l("read updates hdlist"); #- keep in mind where is the URL prefix used according to mirror (for install_any::install_urpmi). -- cgit v1.2.1