]> 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:46:59 +0000 (00:46 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 22 May 2011 22:46:59 +0000 (00:46 +0200)
r=mkanat a=LpSolit

Bugzilla/Install/Requirements.pm

index 1f1ef436dcdaf3b2dc9e960ee8c47d7ae1329c3d..5f276bf25dc1e443dfdf3d48659ff7790898cf85 100644 (file)
@@ -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.