helm/bin/html2pdf
2013-12-19 09:51:09 -05:00

11 lines
273 B
Bash
Executable file
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env zsh
if ! is_mac; then
echo "Mac-only script!"
exit
elif ! command_exists wkhtmltopdf; then
brew install https://raw.github.com/mxcl/homebrew/6e2d550cf4961129a790bfb0973f8e88704f439d/Library/Formula/wkhtmltopdf.rb
fi
wkhtmltopdf "$1" "$2"