From 8fe06c99a46de3284e2aba96a5c9016b49ac8cb2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 8 Jan 2008 14:26:07 +0000 Subject: better error message: "copying" is not adapted for something we downloaded, "retrieval" works better for both copied/retrieved cases --- urpm/media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm/media.pm') diff --git a/urpm/media.pm b/urpm/media.pm index fd49d70c..bdb43e33 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1027,7 +1027,7 @@ sub check_synthesis_md5sum { if ($wanted_md5sum) { $urpm->{log}(N("computing md5sum of retrieved source synthesis")); urpm::md5sum::compute(cachedir_with_synthesis($urpm, $medium)) eq $wanted_md5sum or - $urpm->{error}(N("copy of [%s] failed (md5sum mismatch)", _url_with_synthesis($medium))), return; + $urpm->{error}(N("retrieval of [%s] failed (md5sum mismatch)", _url_with_synthesis($medium))), return; } 1; } -- cgit v1.2.1