diff options
author | lpsolit%gmail.com <> | 2009-08-12 13:05:26 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-08-12 13:05:26 +0000 |
commit | c64d5c4846f0f33087fb3d734a8d01588d904dbd (patch) | |
tree | 9b682a8b391f4985d559121ea630b1fd3efffea7 /checksetup.pl | |
parent | Bug 359854: Put set_assign_to() back into onload - Patch by Frédéric Bu... (diff) | |
download | bugzilla-c64d5c4846f0f33087fb3d734a8d01588d904dbd.tar.gz bugzilla-c64d5c4846f0f33087fb3d734a8d01588d904dbd.tar.bz2 bugzilla-c64d5c4846f0f33087fb3d734a8d01588d904dbd.zip |
Bug 507493: checksetup.pl's output should use colors for missing and too old Perl modules - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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', |