[UPD] wkhtmltox 0.12.6-1 for OSX cocoa

This commit is contained in:
Mathieu Benoit 2020-11-10 18:51:00 -05:00
parent bb11e3e238
commit 69e31b1aa4

View file

@ -47,8 +47,8 @@ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poet
# Install Wkhtmltopdf if needed
#--------------------------------------------------
echo "\n---- Installing Wkhtmltopdf if needed ----"
if [ ! -f "wkhtmltox-0.12.5-1.macos-carbon.pkg" ]; then
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.macos-carbon.pkg
sudo sudo installer -pkg wkhtmltox-0.12.5-1.macos-carbon.pkg -target /
if [ ! -f "wkhtmltox-0.12.6-1.macos-cocoa.pkg" ]; then
sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.macos-cocoa.pkg
sudo sudo installer -pkg wkhtmltox-0.12.6-1.macos-cocoa.pkg -target /
else echo "Wkhtmltopdf already installed"
fi