close $fh;
if (@report) {
$template->param( update_report =>
[ map { { line => $_ } } split( /\n/, join( '', @report ) ) ]
[ map { local $_ = $_; $_ =~ s/\t/  /g; { line => $_ } } split( /\n/, join( '', @report ) ) ]
);
$template->param( has_update_succeeds => 1 );
}
[% USE raw %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Web installer ›
<p>Update report :</p>
<ul>
[% FOREACH update_repor IN update_report %]
<li>[% update_repor.line | html %]</li>
<li>[% update_repor.line | $raw %]</li>
[% END %]
</ul>
-