helm/bin/html2pdf

11 lines
267 B
Plaintext
Raw Normal View History

2013-12-19 06:51:09 -08:00
#!/usr/bin/env zsh
if ! is_mac; then
echo "Mac-only script!"
exit
elif ! command_exists wkhtmltopdf; then
2013-12-19 07:38:39 -08:00
brew install https://raw.github.com/mxcl/homebrew/6e2d550cf4961129a790bfb0973f8e88704f439d/Library/Formula/wkhtmltopdf.rb
2013-12-19 06:51:09 -08:00
fi
wkhtmltopdf "$1" "$2"