diff options
-rwxr-xr-x | bin/impressive-display | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/impressive-display b/bin/impressive-display index 08d9da1..c289e2d 100755 --- a/bin/impressive-display +++ b/bin/impressive-display @@ -184,6 +184,11 @@ function cleanup { function pdf_is_portrait { + if ! which bc 1>/dev/null; then + echo "WARNING: The 'bc' command line tool is not installed on this system." + return -1 + fi + check_pdffile=$1 if [ -n "$check_pdffile" ] && [ -r "$check_pdffile" ]; then |