[Koha-patches] [PATCH] Bug 4505 - Bumping the perl version to 5.8.8 or greater

Chris Cormack chrisc at catalyst.net.nz
Sat May 22 10:15:59 CEST 2010


---
 Makefile.PL          |    2 +-
 installer/install.pl |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 5966d0d..e1a3be2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -34,7 +34,7 @@ use C4::Installer;
 my $koha_pm = C4::Installer::PerlModules->new;
 
 my $DEBUG = 0;
-die "perl 5.6.1 or later required" unless ($] >= 5.006001);
+die "perl 5.8.8 or later required" unless ($] >= 5.008008);
 
 # Hash up directory structure & files beginning with the directory we were called from (should be the base of koha)...
 
diff --git a/installer/install.pl b/installer/install.pl
index 437d03f..5fac1f6 100755
--- a/installer/install.pl
+++ b/installer/install.pl
@@ -58,7 +58,7 @@ if ( $step && $step == 1 ) {
     $template->param( language => 1 );
     $template->param( 'checkmodule' => 1 ); # we start with the assumption that there are no problems and set this to 0 if there are
 
-    unless ( $] >= 5.006001 ) {    # Bug 179
+    unless ( $] >= 5.008008 ) {    # Bug 4505
         $template->param( problems => 1, perlversion => 1, checkmodule => 0 );
     }
 
-- 
1.6.3.3




More information about the Koha-patches mailing list