summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2008-09-10 12:10:17 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2008-09-10 12:10:17 +0000
commit5c333601ac88827fe138450cd2282fdfda309b59 (patch)
treef0421d754108a77e5915ecd381092ed91245cdbf
parent3bcfdf1591316db74b6f33c015d01dc03e860777 (diff)
downloadurpmi-5c333601ac88827fe138450cd2282fdfda309b59.tar
urpmi-5c333601ac88827fe138450cd2282fdfda309b59.tar.gz
urpmi-5c333601ac88827fe138450cd2282fdfda309b59.tar.bz2
urpmi-5c333601ac88827fe138450cd2282fdfda309b59.tar.xz
urpmi-5c333601ac88827fe138450cd2282fdfda309b59.zip
- fix locale problem with aria2
-rw-r--r--urpm/download.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index a93ea71c..fb5a508a 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -628,6 +628,7 @@ sub sync_aria2 {
$options->{debug} and $options->{debug}($aria2c_command);
+ local $ENV{LC_ALL} = 'C';
my $aria2_pid = open(my $aria2, "$aria2c_command |");
my ($buf, $_total, $file) = ('', undef, undef);