From 9197c730882b0ea0e5aedb321394c26685c20ad2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 26 Jul 2004 11:22:04 +0000 Subject: show the name of the real file that is too small ... --- urpm.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urpm.pm b/urpm.pm index 3814e39a..e303ac9a 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1174,7 +1174,8 @@ this could happen if you mounted manually the directory when creating the medium } -e "$urpm->{cachedir}/partial/$medium->{hdlist}" && -s _ > 32 or - $error = 1, $urpm->{error}(N("copy of [%s] failed (file is suspiciously small)", $with_hdlist_dir)); + $error = 1, $urpm->{error}(N("copy of [%s] failed (file is suspiciously small)", + "$urpm->{cachedir}/partial/$medium->{hdlist}")); #- keep checking md5sum of file just copied ! (especially on nfs or removable device). if (!$error && $retrieved_md5sum) { -- cgit v1.2.1