diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-04-20 15:30:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-04-20 15:30:12 +0000 |
commit | 0756f81db4bc8da0f5d5fd149d448a95e43535bf (patch) | |
tree | 43c6fb7b8beab65d051cdaf2646c978edcfbd0ae /perl-install/install/pkgs.pm | |
parent | 8f94b7e16e1d446c849e268dcf42bb1c93fa8c32 (diff) | |
download | drakx-0756f81db4bc8da0f5d5fd149d448a95e43535bf.tar drakx-0756f81db4bc8da0f5d5fd149d448a95e43535bf.tar.gz drakx-0756f81db4bc8da0f5d5fd149d448a95e43535bf.tar.bz2 drakx-0756f81db4bc8da0f5d5fd149d448a95e43535bf.tar.xz drakx-0756f81db4bc8da0f5d5fd149d448a95e43535bf.zip |
(_install_raw,monitor_full_edid) do not log perl warnings about
missing/not-yet-installed locales while installing and while probing EDID
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 3 |
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): |