Any to mobi: check ebook-convert installation.
This commit is contained in:
parent
e5560efabd
commit
7ef99ab974
@ -13,6 +13,7 @@
|
|||||||
# - http://manual.calibre-ebook.com/cli/ebook-convert.html
|
# - http://manual.calibre-ebook.com/cli/ebook-convert.html
|
||||||
# - http://manual.calibre-ebook.com/cli/ebook-meta.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() {
|
function convert_file() {
|
||||||
local infile="$1"
|
local infile="$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user