This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf/scripts/before_script.sh

11 lines
312 B
Bash
Raw Normal View History

2017-04-26 14:31:08 +01:00
#!/usr/bin/env bash
2017-04-26 14:54:20 +01:00
set -e
2017-04-26 14:31:08 +01:00
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/