diff --git a/odoo_install.sh b/odoo_install_shinji.sh similarity index 98% rename from odoo_install.sh rename to odoo_install_shinji.sh index 1c9dab8..c444982 100644 --- a/odoo_install.sh +++ b/odoo_install_shinji.sh @@ -21,7 +21,7 @@ OE_HOME="/$OE_USER" OE_HOME_EXT="/$OE_USER/${OE_USER}-server" #The default port where this Odoo instance will run under (provided you use the command -c in the terminal) #Set to true if you want to install it, false if you don't need it or have it already installed. -INSTALL_WKHTMLTOPDF="True" +INSTALL_WKHTMLTOPDF="False" #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: 11.0, 10.0, 9.0 or saas-18. When using 'master' the master version will be installed. @@ -75,6 +75,9 @@ echo -e "\n---- Install python libraries ----" sudo apt-get install python3-suds echo -e "\n--- Install other required packages" +sudo apt-get install curl -y +curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - +sudo apt-get install -y npm sudo apt-get install node-clean-css -y sudo apt-get install node-less -y sudo apt-get install python-gevent -y @@ -92,6 +95,7 @@ if [ $INSTALL_WKHTMLTOPDF = "True" ]; then fi sudo wget $_url sudo gdebi --n `basename $_url` + sudo apt-get -f install sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin else