mirror of
				https://github.com/ocrmypdf/OCRmyPDF.git
				synced 2025-10-31 01:41:23 +00:00 
			
		
		
		
	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:
		
						commit
						c6211e2335
					
				| @ -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 | 	&& 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 | # Display the version of the tools if log level is LOG_DEBUG | ||||||
| if [ $VERBOSITY -ge $LOG_DEBUG ]; then | if [ $VERBOSITY -ge $LOG_DEBUG ]; then | ||||||
| 	echo "--------------------------------" | 	echo "--------------------------------" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 fritz-hh
						fritz-hh