check if wkhtmltopdf is installed, else print message
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
#/bin/sh
|
||||
if ! wkhtmltopdf -V >/dev/null 2>&1
|
||||
then
|
||||
echo "wkhtmltopdf not installed."
|
||||
echo "See https://wkhtmltopdf.org"
|
||||
exit 1
|
||||
fi >&2
|
||||
|
||||
PAGES="
|
||||
index.html
|
||||
setup.html
|
||||
|
Reference in New Issue
Block a user