X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha_perl_deps.pl;fp=koha_perl_deps.pl;h=c5b614ec3d0d01bda9b70f33e804b961169d96ff;hb=e5e5e3155e4c4b3f51415d08a324f84142e91f3d;hp=934dea58e63bf62d01fbfe4b20b21145e3974c99;hpb=d010412c66a9291d13676ed7a3fbdaaf1b269b59;p=srvgit diff --git a/koha_perl_deps.pl b/koha_perl_deps.pl index 934dea58e6..c5b614ec3d 100755 --- a/koha_perl_deps.pl +++ b/koha_perl_deps.pl @@ -41,8 +41,9 @@ push @pm, 'current_pm' if $installed || $all; print color 'bold white' if $color; print" -Module Name Current Version Required Version Module Required --------------------------------------------------------------------------------------------------------------------------- + Installed Required Module is +Module Name Version Version Required +-------------------------------------------------------------------------------------------- "; my $count = 0; @@ -60,8 +61,8 @@ foreach my $type (@pm) { my $current_version = ($color ? $_->{$pm}->{'cur_ver'} : $type eq 'missing_pm' || $type eq 'upgrade_pm' ? $_->{$pm}->{'cur_ver'}." *" : $_->{$pm}->{'cur_ver'}); format = -@<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<< @<<<<<<<<<< @<<<<< -$pm, $current_version, $_->{$pm}->{'min_ver'}, $required +@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<< @<<<<< +$pm, $current_version, $_->{$pm}->{'min_ver'}, $required . write; } @@ -69,8 +70,8 @@ write; } print color 'bold white' if $color; my $footer = " --------------------------------------------------------------------------------------------------------------------------- -Total modules reported: $count "; +-------------------------------------------------------------------------------------------- +Total modules reported: $count "; if ($color) { $footer .= "\n\n";