From eb973a549995219e23127d09288a0cd1106296eb Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Tue, 30 Jan 2018 19:53:32 +0000 Subject: [PATCH] Bug 20104: Update minimum version of Perl to 5.20 This patch not only updates the version check, but repurposes the perlversion parameter, so as to not have to retranslate templates again when the version number changes after this. The changes are very self-evident. Signed-off-by: Roch D'Amour --- installer/install.pl | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/install.pl b/installer/install.pl index a7aaa28..c132939 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -93,8 +93,8 @@ if ( $step && $step == 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.010000 ) { # Bug 7375 - $template->param( problems => 1, perlversion => 1, checkmodule => 0 ); + unless ( $] >= 5.020000 ) { # Bug 20104 + $template->param( problems => 1, perlversion => '5.20', checkmodule => 0 ); $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 806f28e..7cebfa8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt @@ -70,7 +70,7 @@

I encountered some problems.

[% END %] -- 2.7.4