From 1c04a9840028d65258410f1155a504ffae69fc99 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Thu, 22 Dec 2011 10:20:44 +0100 Subject: [PATCH] Bug 7375 - Update minimum version of Perl to 5.10 - Change the installer script to look for at least 5.10/5.010000 - Change the template to ask for the correct version To test: - Run through the webinstaller on 5.10 or newer and check that there are no errors. - Ideally: Run through the webinstaller on an older version than 5.10 and check that there *is* an error, asking for 5.10 or newer. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- installer/install.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/install.pl b/installer/install.pl index ae478b60a6..1619f503f1 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -59,7 +59,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.008008 ) { # Bug 4505 + unless ( $] >= 5.010000 ) { # Bug 7375 $template->param( problems => 1, perlversion => 1, checkmodule => 0 ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt index dbc3736210..52c52c6b27 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt @@ -49,8 +49,8 @@ listed, please inform your systems administrator.

I encountered some problems.

    [% IF ( perlversion ) %] -
  • Your perl version seems to be obsolete. - Please upgrade to a newer version of Perl (at least Version 5.006001).
  • +
  • Your Perl version seems to be obsolete. + Please upgrade to a newer version of Perl (at least Version 5.10).
  • [% END %]
[% END %] -- 2.39.2