Skip to content

Commit 70b7778

Browse files
authored
[Fixes] Move version to 10.0 and apply echo
- Moved to 10.0 - Forgot to forward options to /etc/${OE_CONFIG}.conf
1 parent e053816 commit 70b7778

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

odoo_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ INSTALL_WKHTMLTOPDF="True"
2626
OE_PORT="8069"
2727
#Choose the Odoo version which you want to install. For example: 9.0, 8.0, 7.0 or saas-6. When using 'trunk' the master version will be installed.
2828
#IMPORTANT! This script contains extra libraries that are specifically needed for Odoo 9.0
29-
OE_VERSION="9.0"
29+
OE_VERSION="10.0"
3030
#set the superadmin password
3131
OE_SUPERADMIN="admin"
3232
OE_CONFIG="${OE_USER}-server"
@@ -121,7 +121,7 @@ sudo chmod 640 /etc/${OE_CONFIG}.conf
121121
echo -e "* Change server config file"
122122
sudo sed -i s/"db_user = .*"/"db_user = $OE_USER"/g /etc/${OE_CONFIG}.conf
123123
sudo sed -i s/"; admin_passwd.*"/"admin_passwd = $OE_SUPERADMIN"/g /etc/${OE_CONFIG}.conf
124-
sudo su root -c "echo '[options]'"
124+
sudo su root -c "echo '[options]' >> /etc/${OE_CONFIG}.conf"
125125
sudo su root -c "echo 'logfile = /var/log/$OE_USER/$OE_CONFIG$1.log' >> /etc/${OE_CONFIG}.conf"
126126
sudo su root -c "echo 'addons_path=$OE_HOME_EXT/addons,$OE_HOME/custom/addons' >> /etc/${OE_CONFIG}.conf"
127127

0 commit comments

Comments
 (0)