10 lines
312 B
Bash
10 lines
312 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
sudo apt-get install -y openssl build-essential xorg libssl-dev
|
|
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
|
|
tar -xJf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
|
|
cd wkhtmltox
|
|
sudo chown root:root bin/wkhtmltopdf
|
|
sudo cp -r * /usr/
|