From: Russell Bryant Date: Tue, 16 Nov 2010 22:41:11 +0000 (+0000) Subject: Check for pdftotext and give a useful error if not found. X-Git-Tag: 1.8.2-rc1~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73547b096118a0ae4cb621f605f907814f8611b6;p=thirdparty%2Fasterisk.git Check for pdftotext and give a useful error if not found. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@295278 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/build_tools/prep_tarball b/build_tools/prep_tarball index 3b66b7925b..6f4dadb3a5 100755 --- a/build_tools/prep_tarball +++ b/build_tools/prep_tarball @@ -18,6 +18,15 @@ if ! which wikiexport.py 2>&1 > /dev/null ; then exit 1 fi +if ! which pdftotext 2>&1 > /dev/null ; then + echo + echo "pdftotext not found. Please install it." + echo + echo "On Debian/Ubuntu/Fedora/CentOS, install the poppler-utils package." + echo + exit 1 +fi + cd doc echo "Exporting Asterisk wiki to a PDF (this will take a minute) ..." wikiexport.py