projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a9adcc
)
installation_check: bei check_pdfinfo Leerzeichen aus Version entfernen.
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Tue, 9 May 2017 21:58:47 +0000
(23:58 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Tue, 9 May 2017 22:05:40 +0000
(
00:05
+0200)
Das sorgt für eine ausgerichtete Ausgabe.
scripts/installation_check.pl
patch
|
blob
|
history
diff --git
a/scripts/installation_check.pl
b/scripts/installation_check.pl
index
2535a2c
..
df2ac3f
100755
(executable)
--- a/
scripts/installation_check.pl
+++ b/
scripts/installation_check.pl
@@
-208,6
+208,7
@@
sub check_pdfinfo {
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' ) {
+ chop $ver_string;
print_line($line, $ver_string, 'green');
} else {
print_line($line, 'not installed','red');