From 70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Fri, 3 Sep 2010 18:19:35 -0700 Subject: Bug 559549: Make checksetup.pl print out a "checksetup.pl complete" message when it finishes. r=mkanat, a=mkanat (module owner) --- checksetup.pl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 0e89447fe..b6b4fc19c 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -53,7 +53,8 @@ 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 init_console); +use Bugzilla::Install::Util qw(install_string get_version_and_os + init_console success); ###################################################################### # Live Code @@ -98,6 +99,9 @@ exit if $switch{'check-modules'}; require Bugzilla; require Bugzilla::User; +require Bugzilla::Util; +import Bugzilla::Util qw(get_text); + require Bugzilla::Config; import Bugzilla::Config qw(:admin); @@ -232,9 +236,12 @@ Bugzilla::Hook::process('install_before_final_checks', { silent => $silent }); # Check if the default parameter for urlbase is still set, and if so, give # notification that they should go and visit editparams.cgi if (Bugzilla->params->{'urlbase'} eq '') { - print "\n" . Bugzilla::Install::get_text('install_urlbase_default') . "\n" + print "\n" . get_text('install_urlbase_default') . "\n" unless $silent; } +if (!$silent) { + success(get_text('install_success')); +} __END__ -- cgit v1.2.3-24-g4f1b