summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-07-03 17:53:24 +0200
committerlpsolit%gmail.com <>2006-07-03 17:53:24 +0200
commit3d317ca092cec05ad9dcdd3815d74bedbd9f3412 (patch)
tree20e379143241aee23d4dc506623f302e68698613 /checksetup.pl
parent1e087ef9416da23989f9134866586ea02df156da (diff)
downloadbugzilla-3d317ca092cec05ad9dcdd3815d74bedbd9f3412.tar.gz
bugzilla-3d317ca092cec05ad9dcdd3815d74bedbd9f3412.tar.xz
Bug 328186: checksetup.pl should display the version of Bugzilla - Patch by RĂ©mi Zara <remi_zara@mac.com> r=mkanat a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 349ac0b46..cde371641 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -161,6 +161,7 @@ sub help_page {
my $programname = $0;
$programname =~ s#^\./##;
print "$programname - checks your setup and updates your Bugzilla installation\n";
+ printf "Version: " . BUGZILLA_VERSION . " on perl %vd\n", $^V;
print "\nUsage: $programname [SCRIPT [--verbose]] [--check-modules|--help]\n";
print " [--no-templates]\n";
print "\n";
@@ -198,6 +199,12 @@ if ($ARGV[0] && ($ARGV[0] !~ /^-/)) {
}
###########################################################################
+# Display version information
+###########################################################################
+
+printf "\n*** This is Bugzilla " . BUGZILLA_VERSION . " on perl %vd ***\n", $^V unless $silent;
+
+###########################################################################
# Check required module
###########################################################################