diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-05-16 14:42:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-05-16 14:42:49 +0000 |
commit | a939fa9ccc78e0117dc6f128e2b81e436af734ff (patch) | |
tree | df2ded1eb540ed72d61039cde6b0ac15ec3609e7 | |
parent | 6c10071d5ab0d684b74b21ccc1d903bb949be2f2 (diff) | |
download | urpmi-a939fa9ccc78e0117dc6f128e2b81e436af734ff.tar urpmi-a939fa9ccc78e0117dc6f128e2b81e436af734ff.tar.gz urpmi-a939fa9ccc78e0117dc6f128e2b81e436af734ff.tar.bz2 urpmi-a939fa9ccc78e0117dc6f128e2b81e436af734ff.tar.xz urpmi-a939fa9ccc78e0117dc6f128e2b81e436af734ff.zip |
nicer code
-rw-r--r-- | urpm/download.pm | 5 |
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); |