From 7ef99ab97425e8bcad7e5a7c462ed458c6637260 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Sat, 16 Feb 2013 01:07:51 +0400 Subject: [PATCH] Any to mobi: check ebook-convert installation. --- bin/anytomobi | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/anytomobi b/bin/anytomobi index edb90c2..b85d7be 100755 --- a/bin/anytomobi +++ b/bin/anytomobi @@ -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"