summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-26 11:22:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-26 11:22:04 +0000
commit9197c730882b0ea0e5aedb321394c26685c20ad2 (patch)
tree165950769f76ec2f7ea2099a555c6b9420973f4e /urpm.pm
parenta53ad98bcbfd86d3cc6cbc8ed0a3a1711c842bba (diff)
downloadurpmi-9197c730882b0ea0e5aedb321394c26685c20ad2.tar
urpmi-9197c730882b0ea0e5aedb321394c26685c20ad2.tar.gz
urpmi-9197c730882b0ea0e5aedb321394c26685c20ad2.tar.bz2
urpmi-9197c730882b0ea0e5aedb321394c26685c20ad2.tar.xz
urpmi-9197c730882b0ea0e5aedb321394c26685c20ad2.zip
show the name of the real file that is too small ...
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 2 insertions, 1 deletions
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) {