Revision 5a9adcc5
Von Bernd Bleßmann vor mehr als 7 Jahren hinzugefügt
scripts/installation_check.pl | ||
---|---|---|
202 | 202 |
EOL |
203 | 203 |
} |
204 | 204 |
} |
205 |
sub check_pdfinfo { |
|
206 |
my $line = "Looking for pdfinfo executable"; |
|
207 |
my $shell_out = `pdfinfo -v 2>&1 | grep version 2> /dev/null`; |
|
208 |
my ($label,$vers,$ver_string) = split / /,$shell_out; |
|
209 |
if ( $label && $label eq 'pdfinfo' ) { |
|
210 |
print_line($line, $ver_string, 'green'); |
|
211 |
} else { |
|
212 |
print_line($line, 'not installed','red'); |
|
213 |
my %modinfo = ( name => 'pdfinfo' ); |
|
214 |
push @missing_modules, \%modinfo; |
|
215 |
|
|
216 |
} |
|
217 |
} |
|
218 | 205 |
|
219 | 206 |
sub check_pdfinfo { |
220 | 207 |
my $line = "Looking for pdfinfo executable"; |
Auch abrufbar als: Unified diff
installation_check: doppelte sub "check_pdfinfo" entfernt