summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-03 13:26:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-03 13:26:42 +0000
commita4441531ab66d5b9f73309da3547c112bb6c0f66 (patch)
tree340dac7054d0932382ea514bbefc8e94ca18fbbc /urpm
parent574420fe8c452d83ab5ffc860669f35db4100bd2 (diff)
downloadurpmi-a4441531ab66d5b9f73309da3547c112bb6c0f66.tar
urpmi-a4441531ab66d5b9f73309da3547c112bb6c0f66.tar.gz
urpmi-a4441531ab66d5b9f73309da3547c112bb6c0f66.tar.bz2
urpmi-a4441531ab66d5b9f73309da3547c112bb6c0f66.tar.xz
urpmi-a4441531ab66d5b9f73309da3547c112bb6c0f66.zip
use urpm::download::sync_rel()
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm4
1 files changed, 2 insertions, 2 deletions
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;
}