Skip to content

Commit ea99799

Browse files
committed
update travis wkhtmltopdf version to 0.12.6-1
1 parent ac0406a commit ea99799

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

travis/before-script.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env sh
22

3-
WKHTML2PDF_VERSION='0.12.4'
3+
WKHTML2PDF_VERSION='0.12.6-1'
44

55
sudo apt-get install -y openssl build-essential xorg libssl-dev
6-
wget "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/${WKHTML2PDF_VERSION}/wkhtmltox-${WKHTML2PDF_VERSION}_linux-generic-amd64.tar.xz"
7-
tar -xJf "wkhtmltox-${WKHTML2PDF_VERSION}_linux-generic-amd64.tar.xz"
8-
cd wkhtmltox
9-
sudo chown root:root bin/wkhtmltopdf
10-
sudo cp -r * /usr/
6+
https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb
7+
wget "https://github.com/wkhtmltopdf/packaging/releases/download/${WKHTML2PDF_VERSION}/wkhtmltox_${WKHTML2PDF_VERSION}.focal_amd64.deb"
8+
sudo dpkg -i wkhtmltox_${WKHTML2PDF_VERSION}.focal_amd64.deb

0 commit comments

Comments
 (0)