X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha_perl_deps.pl;h=54e6de0b75c04ea924ca30bd7d997d8b516b17f9;hb=9706908b269ebc068b19a0989ca8af6804b1a540;hp=123bcd26e43753323a620a3b75867254a581f33d;hpb=6eeb5180422d9439afb9e783aae70f7c1beb27e7;p=koha.git diff --git a/koha_perl_deps.pl b/koha_perl_deps.pl index 123bcd26e4..54e6de0b75 100755 --- a/koha_perl_deps.pl +++ b/koha_perl_deps.pl @@ -62,7 +62,6 @@ foreach my $type (@pm) { print color 'yellow' if $type eq 'upgrade_pm' && $color; print color 'red' if $type eq 'missing_pm' && $color; print color 'green' if $type eq 'current_pm' && $color; - $count++; my $required = ($_->{$pm}->{'required'}?'Yes':'No'); my $current_version = ($color ? $_->{$pm}->{'cur_ver'} : $type eq 'missing_pm' || $type eq 'upgrade_pm' ? $_->{$pm}->{'cur_ver'}." *" : $_->{$pm}->{'cur_ver'}); @@ -73,11 +72,13 @@ format = $pm, $current_version, $_->{$pm}->{'min_ver'}, $required . write; + $count++; } } else { if (($req && $required eq 'Yes') || !$req) { print "$pm\n"; + $count++; } } }