From: Frédéric Buclin Date: Sun, 22 May 2011 22:46:59 +0000 (+0200) Subject: Bug 648096: UWinnipeg (theory PPM repo) instructions are not necessary with recent... X-Git-Tag: bugzilla-4.1.3~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b65c752cb972ec75c2a7c58c3b2f40f5ec2c6fe;p=thirdparty%2Fbugzilla.git Bug 648096: UWinnipeg (theory PPM repo) instructions are not necessary with recent ActiveState releases r=mkanat a=LpSolit --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 1f1ef436dc..5f276bf25d 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -545,9 +545,8 @@ sub print_module_instructions { or ($output and $check_results->{any_missing}) ) ? 1 : 0; # We only print the PPM repository note if we have to. - if ($need_module_instructions and ON_ACTIVESTATE) { - my $perl_ver = sprintf('%vd', $^V); - + my $perl_ver = sprintf('%vd', $^V); + if ($need_module_instructions && ON_ACTIVESTATE && vers_cmp($perl_ver, '5.12') < 0) { # URL when running Perl 5.8.x. my $url_to_theory58S = 'http://theoryx5.uwinnipeg.ca/ppms'; # Packages for Perl 5.10 are not compatible with Perl 5.8.