Merge pull request #55 from jbarlow83/for-upstream/check-poppler

Verify that pdftoppm is the Poppler version, not xpdf version
This commit is contained in:
fritz-hh 2014-01-13 08:42:33 -08:00
commit c6211e2335

View File

@ -166,6 +166,10 @@ parallelversion=`parallel --minversion 0`
&& echo "Please install GNU parallel ${reqparallelversion} or newer (currently installed version is ${parallelversion})" && exit $EXIT_MISSING_DEPENDENCY
# ensure pdftoppm is provided by poppler-utils, not the older xpdf version
! pdftoppm -v 2>&1 | grep -q 'Poppler' && echo "Please remove xpdf and install poppler-utils. Exiting..." && $EXIT_MISSING_DEPENDENCY
# Display the version of the tools if log level is LOG_DEBUG
if [ $VERBOSITY -ge $LOG_DEBUG ]; then
echo "--------------------------------"