diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-09-03 18:19:35 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-09-03 18:19:35 -0700 |
commit | 70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e (patch) | |
tree | d32f1cd1233f8a42892e97d67d4a1e48d8daf475 /checksetup.pl | |
parent | If an installation had not yet set the urlbase parameter, then inserting (diff) | |
download | bugzilla-70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e.tar.gz bugzilla-70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e.tar.bz2 bugzilla-70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e.zip |
Bug 559549: Make checksetup.pl print out a "checksetup.pl complete" message
when it finishes.
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 11 |
1 files changed, 9 insertions, 2 deletions
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__ |