X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=scripts%2Finstallation_check.pl;h=94751b96125ace80d0a1bf83c14fa2eca22764b4;hb=63dc98ee1d7bc23baa2567f2da7ad188f38d70d1;hp=2535a2c37001b3d7b8fd2acebc90097ab5a80835;hpb=6ba38ffedd99c9d3ade9134b01ac510c50d92d2e;p=kivitendo-erp.git diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 2535a2c37..94751b961 100755 --- a/scripts/installation_check.pl +++ b/scripts/installation_check.pl @@ -202,6 +202,19 @@ sub kpsewhich { EOL } } +sub check_pdfinfo { + my $line = "Looking for pdfinfo executable"; + my $shell_out = `pdfinfo -v 2>&1 | grep version 2> /dev/null`; + my ($label,$vers,$ver_string) = split / /,$shell_out; + if ( $label && $label eq 'pdfinfo' ) { + print_line($line, $ver_string, 'green'); + } else { + print_line($line, 'not installed','red'); + my %modinfo = ( name => 'pdfinfo' ); + push @missing_modules, \%modinfo; + + } +} sub check_pdfinfo { my $line = "Looking for pdfinfo executable";