From a4441531ab66d5b9f73309da3547c112bb6c0f66 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 3 Sep 2008 13:26:42 +0000 Subject: use urpm::download::sync_rel() --- urpm/media.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm/media.pm') diff --git a/urpm/media.pm b/urpm/media.pm index 50a8b701..269626fc 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1410,8 +1410,8 @@ sub _download_MD5SUM { my $cachedir_MD5SUM = "$urpm->{cachedir}/partial/MD5SUM"; unlink $cachedir_MD5SUM; - urpm::download::sync($urpm, $medium, - [ reduce_pathname(_synthesis_dir($medium) . '/MD5SUM') ], + urpm::download::sync_rel($urpm, $medium, + [_synthesis_dir_rel($medium) . '/MD5SUM'], quiet => 1) or return; $cachedir_MD5SUM; } -- cgit v1.2.1