Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Roman2K
Created October 23, 2014 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Roman2K/aa4bd4d904f3fa0ef028 to your computer and use it in GitHub Desktop.
Save Roman2K/aa4bd4d904f3fa0ef028 to your computer and use it in GitHub Desktop.
Raw test script for a clean non-root install of wkhtmltopdf
curl -L http://iweb.dl.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_osx-carbon-i386.pkg > wk.pkg \
&& pkgutil --expand wk.pkg wk \
&& mkdir unwk \
&& (cd unwk && gunzip < ../wk/Payload | cpio -id) \
&& mkdir dest \
&& (cd dest && tar x) < unwk/usr/local/share/wkhtmltox-installer/app.tar.xz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment