|
@@ -29,6 +29,7 @@ if [ ! -x "$(command -v wkhtmltopdf)" ]; then
|
|
|
wget -O /tmp/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz http://mi.lacecdn.com/docker/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
|
|
|
cd /tmp
|
|
|
tar xvfJ wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
|
|
|
+ rm -rf /usr/local/wkhtmltox
|
|
|
mv wkhtmltox /usr/local/
|
|
|
chmod +x /usr/local/wkhtmltox/bin/wkhtmltopdf
|
|
|
chmod +x /usr/local/wkhtmltox/bin/wkhtmltoimage
|