From 5011c474a13a569438c7cbcf13ec20190be3b6fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 9 May 2017 23:58:47 +0200 Subject: [PATCH] installation_check: bei check_pdfinfo Leerzeichen aus Version entfernen. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Das sorgt für eine ausgerichtete Ausgabe. --- scripts/installation_check.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/installation_check.pl b/scripts/installation_check.pl index 2535a2c37..df2ac3fac 100755 --- 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'); -- 2.20.1