From 73307152ecce5056981c9f4b32667b9979567c3f Mon Sep 17 00:00:00 2001 From: MinhHQ Date: Fri, 5 Oct 2018 10:37:24 +0700 Subject: [PATCH] update oe_version and WKHTMLTOPDFdownload link --- odoo_install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/odoo_install.sh b/odoo_install.sh index 87ecb72..f29afc4 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -25,7 +25,7 @@ INSTALL_WKHTMLTOPDF="True" #Set the default Odoo port (you still have to use -c /etc/odoo-server.conf for example to use this.) OE_PORT="8069" #Choose the Odoo version which you want to install. For example: 12.0, 11.0, 10.0, 9.0 or saas-18. When using 'master' the master version will be installed. -OE_VERSION="saas-11.5" # Note that after v12 is released (03/10/2018) you should change this to 12.0 +OE_VERSION="12.0" # Set this to True if you want to install Odoo 12 Enterprise! IS_ENTERPRISE="False" #set the superadmin password @@ -35,10 +35,10 @@ OE_CONFIG="${OE_USER}-server" ## ### WKHTMLTOPDF download links ## === Ubuntu Trusty x64 & x32 === (for other distributions please replace these two links, -## in order to have correct version of wkhtmltox installed, for a danger note refer to +## in order to have correct version of wkhtmltox installed, for a danger note refer to ## https://www.odoo.com/documentation/8.0/setup/install.html#deb ): -WKHTMLTOX_X64=https://downloads.wkhtmltopdf.org/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb -WKHTMLTOX_X32=https://downloads.wkhtmltopdf.org/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-i386.deb +WKHTMLTOX_X64=https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb +WKHTMLTOX_X32=https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_i386.deb #-------------------------------------------------- # Update Server @@ -71,6 +71,7 @@ sudo apt-get install node-less -y #-------------------------------------------------- if [ $INSTALL_WKHTMLTOPDF = "True" ]; then echo -e "\n---- Install wkhtml and place shortcuts on correct place for ODOO 12 ----" + sudo apt install xfonts-base xfonts-75dpi -y #pick up correct one from x64 & x32 versions: if [ "`getconf LONG_BIT`" == "64" ];then _url=$WKHTMLTOX_X64