summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-10-10 12:22:41 -0700
committerMark Wells <mark@freeside.biz>2012-10-10 12:22:41 -0700
commit4dcede787a49e94f502b29d2c2fb42cc130c6aff (patch)
tree47bb383013d5c810b44ed0d2d8ec60792f3ee5ff /FS/bin
parentf5399ba1d6f13748fa61d24ecb40164fb8945b81 (diff)
HTML templates for printable form letters, #17349
Diffstat (limited to 'FS/bin')
-rw-r--r--FS/bin/freeside-wkhtmltopdf7
1 files changed, 7 insertions, 0 deletions
diff --git a/FS/bin/freeside-wkhtmltopdf b/FS/bin/freeside-wkhtmltopdf
new file mode 100644
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