summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Util.pm
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 /Bugzilla/Install/Util.pm
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 'Bugzilla/Install/Util.pm')
-rw-r--r--Bugzilla/Install/Util.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index 41f608abf..d65d2f592 100644
--- a/Bugzilla/Install/Util.pm
+++ b/Bugzilla/Install/Util.pm
@@ -47,6 +47,7 @@ our @EXPORT_OK = qw(
indicate_progress
install_string
include_languages
+ success
template_include_path
vers_cmp
init_console
@@ -627,6 +628,11 @@ sub _console_die {
die colored("$message", COLOR_ERROR) . "\n";
}
+sub success {
+ my ($message) = @_;
+ print colored($message, COLOR_SUCCESS), "\n";
+}
+
sub prevent_windows_dialog_boxes {
# This code comes from http://bugs.activestate.com/show_bug.cgi?id=82183
# and prevents Perl modules from popping up dialog boxes, particularly