]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 648096: UWinnipeg (theory PPM repo) instructions are not necessary with recent...
authorFrédéric Buclin <LpSolit@gmail.com>
Sun, 22 May 2011 22:48:48 +0000 (00:48 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 22 May 2011 22:48:48 +0000 (00:48 +0200)
r=mkanat a=LpSolit

Bugzilla/Install/Requirements.pm

index 64a56410ad4ea49940b852663c3a67c553332c70..5f4094f212810d456bb8866c192db6fa9314a3a2 100644 (file)
@@ -530,9 +530,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.