summaryrefslogtreecommitdiffstats
path: root/perl-install/crypto.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-18 17:37:13 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-18 17:37:13 +0000
commit55238eacf0a5f5e027bc786030379a60049e9483 (patch)
treef6adac4a8a75fb48b29d15e5f62627136bdc81fb /perl-install/crypto.pm
parent80fe86f98a250c69ac2978437f999ce193a1bd3b (diff)
downloaddrakx-backup-do-not-use-55238eacf0a5f5e027bc786030379a60049e9483.tar
drakx-backup-do-not-use-55238eacf0a5f5e027bc786030379a60049e9483.tar.gz
drakx-backup-do-not-use-55238eacf0a5f5e027bc786030379a60049e9483.tar.bz2
drakx-backup-do-not-use-55238eacf0a5f5e027bc786030379a60049e9483.tar.xz
drakx-backup-do-not-use-55238eacf0a5f5e027bc786030379a60049e9483.zip
Fix downloading update rpms with ftp method.
Diffstat (limited to 'perl-install/crypto.pm')
-rw-r--r--perl-install/crypto.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index 958bed934..ddd983a6c 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -168,6 +168,8 @@ sub getPackages {
$update_medium->{selected} = 1;
$update_medium->{update} = 1;
+ $install_any::global_ftp_prefix = [ $mirror, dir($mirror) ]; #- host, dir (for install_any::getFile)
+
#- search for packages to update.
$packages->{rpmdb} ||= pkgs::rpmDbOpen();
pkgs::selectPackagesToUpgrade($packages, $update_medium);