diff options
author | Russell Bryant <russell@russellbryant.com> | 2010-11-16 22:41:32 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2010-11-16 22:41:32 +0000 |
commit | 1794783d29b39045e94e5ad71cd6737f4da38e70 (patch) | |
tree | 07117e78d63e43dfcb5c406a7679a5538561a287 | |
parent | 9b484c94aee139bb106a80989176517f8ecbcd81 (diff) |
Merged revisions 295278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r295278 | russell | 2010-11-16 16:41:11 -0600 (Tue, 16 Nov 2010) | 2 lines
Check for pdftotext and give a useful error if not found.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@295279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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 |