From ec3d78cf088439fbf9f9c71f75565417ccad831b Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 10 Aug 2004 01:10:43 +0000 Subject: Adapt to the new mirror structure: RPMs are no longer in a RPMS subdirectory --- perl-install/crypto.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]), -- cgit v1.2.1