summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 10:27:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 10:27:57 +0000
commitb85668183bfbd4a5ecec72d48827de63c491ff01 (patch)
treeac8df9d7d45492d43e4936eb1a701234089674bf
parentcdb6e75eb7121b79a8ff534d701d48d529fbe042 (diff)
downloadurpmi-b85668183bfbd4a5ecec72d48827de63c491ff01.tar
urpmi-b85668183bfbd4a5ecec72d48827de63c491ff01.tar.gz
urpmi-b85668183bfbd4a5ecec72d48827de63c491ff01.tar.bz2
urpmi-b85668183bfbd4a5ecec72d48827de63c491ff01.tar.xz
urpmi-b85668183bfbd4a5ecec72d48827de63c491ff01.zip
Remove encoding kludge
-rw-r--r--urpm.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index d655b861..db1c0ddd 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1615,8 +1615,7 @@ this could happen if you mounted manually the directory when creating the medium
if (-e "$urpm->{cachedir}/partial/$basename" && -s _ > 32 && $retrieved_md5sum) {
$urpm->{log}(N("computing md5sum of retrieved source hdlist (or synthesis)"));
unless (md5sum("$urpm->{cachedir}/partial/$basename") eq $retrieved_md5sum) {
- #- XXX kludge. forced to do this to avoid double encoding under utf-8 locales, even with -CL
- $urpm->{error}(N("...retrieving failed: %s", "") . N("md5sum mismatch"));
+ $urpm->{error}(N("...retrieving failed: md5sum mismatch"));
unlink "$urpm->{cachedir}/partial/$basename";
}
}