summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-04 03:19:35 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-04 03:19:35 +0200
commit70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e (patch)
treed32f1cd1233f8a42892e97d67d4a1e48d8daf475 /checksetup.pl
parent7df5128732e6058d873f5c3ddcd808ebbf5fcbef (diff)
downloadbugzilla-70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e.tar.gz
bugzilla-70d2f4a0ec4f8cdfe63536b266c70a3d7ef37a6e.tar.xz
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-xchecksetup.pl11
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__