Only delete the file if it exists. Remove unused parameter.

This commit is contained in:
Hyperling 2024-03-06 16:04:43 -07:00
parent 7982fe4f7d
commit 8280a12753

View File

@ -4,10 +4,12 @@
date
rm -v ebook.pdf
if [[ -e ebook.pdf ]]; then
rm -v ebook.pdf
fi
pandoc ebook.md \
-s --columns 200 --toc --toc-depth=3 -N \
-s -N --toc --toc-depth=3 \
-o ebook.pdf
status=$?