diff options
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 05bb4d52..f273b7aa 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -163,7 +163,7 @@ sub sync_curl { chdir($options->{dir}); my (@ftp_files, @other_files); foreach (@_) { - m|^ftp://.*/([^/]*)$| && -s $1 > 8192 and do { + m|^ftp://.*/([^/]*)$| && -e $1 && -s _ > 8192 and do { push @ftp_files, $_; next; }; #- manage time stamp for large file only. push @other_files, $_; |