wkhtml 64bits and 32bits
This commit is contained in:
parent
2b1c7a7c2e
commit
b1a0552b45
1 changed files with 7 additions and 2 deletions
|
@ -51,8 +51,13 @@ else
|
|||
sudo apt-get -y -qq install odoo
|
||||
|
||||
# Install wkhtmltopdf to print PDF reports
|
||||
if [ $(uname -m) == 'x86_64' ]; then
|
||||
sudo wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-amd64.deb
|
||||
sudo dpkg -i wkhtmltox-0.12.2.1_linux-jessie-amd64.deb
|
||||
else
|
||||
sudo wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-jessie-i386.deb
|
||||
sudo dpkg -i wkhtmltox-0.12.2.1_linux-jessie-i386.deb
|
||||
fi
|
||||
sudo cp /usr/local/bin/wkhtmltopdf /usr/bin
|
||||
sudo cp /usr/local/bin/wkhtmltoimage /usr/bin
|
||||
|
||||
|
|
Loading…
Reference in a new issue