From a939fa9ccc78e0117dc6f128e2b81e436af734ff Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 16 May 2007 14:42:49 +0000 Subject: nicer code --- urpm/download.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'urpm') 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); -- cgit v1.2.1