summaryrefslogtreecommitdiffstats
path: root/perl-install/crypto.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-10-16 09:46:36 +0000
committerFrancois Pons <fpons@mandriva.com>2003-10-16 09:46:36 +0000
commitc2ce26ddd4b45f0614a5fa55c2e95afabf88924a (patch)
treef3bdce3f879854d897965deb0bc1590deab9e5ab /perl-install/crypto.pm
parent8dca0b65f52548146b68de4c4db4a80bd07269ae (diff)
downloaddrakx-c2ce26ddd4b45f0614a5fa55c2e95afabf88924a.tar
drakx-c2ce26ddd4b45f0614a5fa55c2e95afabf88924a.tar.gz
drakx-c2ce26ddd4b45f0614a5fa55c2e95afabf88924a.tar.bz2
drakx-c2ce26ddd4b45f0614a5fa55c2e95afabf88924a.tar.xz
drakx-c2ce26ddd4b45f0614a5fa55c2e95afabf88924a.zip
added pubkey in update management.
Diffstat (limited to 'perl-install/crypto.pm')
-rw-r--r--perl-install/crypto.pm3
1 files changed, 2 insertions, 1 deletions
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).