Skip to content

Commit

Permalink
try to fix wkhtmltopdf installer by using gdebi not dpkg -i
Browse files Browse the repository at this point in the history
  • Loading branch information
RudolfCardinal committed Jan 8, 2025
1 parent c10aaa9 commit ab1668e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github_action_scripts/install_wkhtmltopdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
# 429 = Too many requests. Unfortunately wget doesn't read the
# Retry-after header so just wait 5 minutes
wget --retry-on-http-error=429 --waitretry=300 --tries=20 https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo apt-get -y install fontconfig libxrender1 xfonts-75dpi xfonts-base
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo apt-get -y install fontconfig gdebi libxrender1 xfonts-75dpi xfonts-base
sudo gdebi --non-interactive wkhtmltox_0.12.6-1.bionic_amd64.deb

0 comments on commit ab1668e

Please sign in to comment.