From 7afeb8dd3f34d8c1d4d1cb36a424bc3d13bc9766 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 17 Feb 2005 16:10:59 +0000 Subject: Work around bug 13685, bug in display of curl progress --- urpm/download.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'urpm') diff --git a/urpm/download.pm b/urpm/download.pm index 8de73e07..bcbc9105 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -349,7 +349,9 @@ sub sync_curl { return; } #- this checks that download has actually started - if ($_ eq "\n") { + if ($_ eq "\n" + && !($speed == 0 && $percent == 100 && index($eta, '--') >= 0) #- work around bug 13685 + ) { propagate_sync_callback($options, 'end', $file); $file = undef; } -- cgit v1.2.1