Any to mobi: check ebook-convert installation.

This commit is contained in:
Artem Sapegin 2013-02-16 01:07:51 +04:00
parent e5560efabd
commit 7ef99ab974
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
# - http://manual.calibre-ebook.com/cli/ebook-convert.html
# - http://manual.calibre-ebook.com/cli/ebook-meta.html
command -v ebook-convert >/dev/null 2>&1 || { echo >&2 "ebook-convert not installed: see comments for instructions."; exit 1; }
function convert_file() {
local infile="$1"