From 963b977d201a71e85781bcbf6732795728e9fc0f Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 10 Oct 2012 12:24:09 -0700 Subject: HTML templates for printable form letters, #17349 --- FS/bin/freeside-wkhtmltopdf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 FS/bin/freeside-wkhtmltopdf (limited to 'FS/bin') diff --git a/FS/bin/freeside-wkhtmltopdf b/FS/bin/freeside-wkhtmltopdf new file mode 100755 index 000000000..c6c5531a5 --- /dev/null +++ b/FS/bin/freeside-wkhtmltopdf @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ $DISPLAY ] ; then + wkhtmltopdf $@ +else + xvfb-run -- wkhtmltopdf $@ +fi -- cgit v1.2.1