diff --git a/tools/make-books.sh b/tools/make-books.sh index e486a14..1a5f7ea 100755 --- a/tools/make-books.sh +++ b/tools/make-books.sh @@ -6,8 +6,8 @@ cd ../ if command -v pandoc &>/dev/null; then echo "pandoc is installed" else - echo "installing pandoc" - sudo apt-get install pandoc + echo "You need to install pandoc. Please visit: https://pandoc.org/installing.html" + exit 1 fi pandoc -o $DIR_DOWNLOADS/typescript-book.epub --metadata title="The Concise TypeScript Book" --metadata author="Simone Poggiali" -s README.md