From c64d5c4846f0f33087fb3d734a8d01588d904dbd Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 12 Aug 2009 13:05:26 +0000 Subject: Bug 507493: checksetup.pl's output should use colors for missing and too old Perl modules - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- checksetup.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 0f410ed7d..d3e3f7952 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -53,7 +53,7 @@ BEGIN { chdir dirname($0); } use lib qw(. lib); use Bugzilla::Constants; use Bugzilla::Install::Requirements; -use Bugzilla::Install::Util qw(install_string get_version_and_os get_console_locale); +use Bugzilla::Install::Util qw(install_string get_version_and_os init_console); ###################################################################### # Live Code @@ -61,7 +61,7 @@ use Bugzilla::Install::Util qw(install_string get_version_and_os get_console_loc # When we're running at the command line, we need to pick the right # language before ever displaying any string. -$ENV{'HTTP_ACCEPT_LANGUAGE'} ||= get_console_locale(); +init_console(); my %switch; GetOptions(\%switch, 'help|h|?', 'check-modules', 'no-templates|t', -- cgit v1.2.3-24-g4f1b