summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index c933cfd56..74b585210 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -728,6 +728,9 @@ sub is_package_installed {
sub _install_raw {
my ($packages, $isUpgrade, $callback, $LOG, $noscripts) = @_;
+ # prevent warnings in install's logs:
+ local $ENV{LC_ALL} = 'C';
+
# let's be urpmi's compatible:
local $packages->{options}{noscripts} = $noscripts;
# leaks a fd per transaction (around ~100 for a typically gnome install, see #49097):