Корректировка wkhtmltopdf

This commit is contained in:
Anthony Axenov 2022-01-09 16:57:18 +08:00
parent a8f06130ef
commit d84e756e07
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

View File

@ -1,9 +1,12 @@
#!/bin/bash
. "../src/01-common.sh" || exit 5
title "Installing wkhtmltopdf..."
echo
echo "==============================================="
echo "Installing wkhtmltopdf..."
echo "==============================================="
echo
# не тестировалось
wget "https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb" -O /tmp/wkhtmltopdf.deb
sudo dpkg -i /tmp/wkhtmltopdf.deb
rm -rf /tmp/wkhtmltopdf.deb
rm /tmp/wkhtmltopdf.deb