From: mozilla%colinogilvie.co.uk <> Date: Tue, 25 Mar 2008 04:04:36 +0000 (+0000) Subject: [Bug 424865] checksetup tells me that commands listed below need to be run as root X-Git-Tag: bugzilla-3.1.3~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc0d63e12a58052775eb2729c57ba1a4bfa56c9c;p=thirdparty%2Fbugzilla.git [Bug 424865] checksetup tells me that commands listed below need to be run as root Patch by Colin Ogilvie ; r+a: mkanat --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 65df716bc6..558db88e28 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -329,10 +329,12 @@ sub print_module_instructions { if ((!$output && @{$check_results->{missing}}) || ($output && $check_results->{any_missing})) { - print "\n* NOTE: You must run any commands listed below as " - . ROOT_USER . ".\n\n"; - + if (ON_WINDOWS) { + + print "\n* NOTE: You must run any commands listed below as " + . ROOT_USER . ".\n\n"; + my $perl_ver = sprintf('%vd', $^V); # URL when running Perl 5.8.x.