summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/download.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index e4fed74c..255dee77 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -305,9 +305,10 @@ sub sync_curl {
$_ = "$proto://$nick:$rest";
}
if (m|^ftp://.*/([^/]*)$| && file_size($1) > 8192) { #- manage time stamp for large file only
- push @ftp_files, $_; next;
+ push @ftp_files, $_;
+ } else {
+ push @other_files, $_;
}
- push @other_files, $_;
}
if (@ftp_files) {
my ($cur_ftp_file, %ftp_files_info);