diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-11-16 22:41:11 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-11-16 22:41:11 +0000 |
commit | 4dda59c3287f6a15e920183bb4ff6d0c3dbde718 (patch) | |
tree | 8e537a20d63cd6d0437800150d93d2ea1b5f68a3 /build_tools | |
parent | 985c5ec071753c19ebc4d2cda2d16c1466df8875 (diff) |
Check for pdftotext and give a useful error if not found.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@295278 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/prep_tarball | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build_tools/prep_tarball b/build_tools/prep_tarball index 3b66b7925..6f4dadb3a 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 |