summaryrefslogtreecommitdiffstats
path: root/perl-install/crypto.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-10 01:10:43 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-10 01:10:43 +0000
commitec3d78cf088439fbf9f9c71f75565417ccad831b (patch)
tree3b518b8c7529fbb35a46cae7a062253cff10b5e9 /perl-install/crypto.pm
parent9d5141f156cdd601e35352826ee088ff4eef96ab (diff)
downloaddrakx-ec3d78cf088439fbf9f9c71f75565417ccad831b.tar
drakx-ec3d78cf088439fbf9f9c71f75565417ccad831b.tar.gz
drakx-ec3d78cf088439fbf9f9c71f75565417ccad831b.tar.bz2
drakx-ec3d78cf088439fbf9f9c71f75565417ccad831b.tar.xz
drakx-ec3d78cf088439fbf9f9c71f75565417ccad831b.zip
Adapt to the new mirror structure: RPMs are no longer in a RPMS subdirectory
Diffstat (limited to 'perl-install/crypto.pm')
-rw-r--r--perl-install/crypto.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index c9679c736..5121330c0 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -115,7 +115,7 @@ sub ftp($) { ftp::new($_[0], dir($_[0])) }
sub getFile {
my ($file, $o_host) = @_;
my $host = $o_host || $crypto::host;
- my $dir = dir($host) . ($file =~ /\.rpm$/ && "/RPMS");
+ my $dir = dir($host);
log::l("getting crypto file $file on directory $dir with login $mirrors{$host}[2]");
my ($ftp, $retr) = ftp::new($host, $dir,
if_($mirrors{$host}[2], $mirrors{$host}[2]),