From 929b47cbb8f60273d12869939f6c0a4bd87f9afc Mon Sep 17 00:00:00 2001 From: Jeff Date: Sun, 20 Sep 2015 20:36:58 +0200 Subject: [PATCH] Auto db not working --- scripts/install | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index 7031daa..53becc3 100644 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,7 @@ else sudo sed -i "s@'auto_install': False@'auto_install': True@g" /usr/lib/python2.7/dist-packages/openerp/addons/auth_ldap/__openerp__.py # Install oerplib to manage databases - sudo pip install oerplib + # sudo pip install oerplib # Add services sudo yunohost service add postgresql @@ -74,12 +74,12 @@ else sudo yunohost service start odoo fi -# Setup database - sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/install_database.py - sudo sed -i "s@DOMAIN_DATABASE@${domain//./-}@g" ../conf/install_database.py - sudo sed -i "s@DATABASE_LANG@$database_lang@g" ../conf/install_database.py - sudo sed -i "s@DATABASE_PASSWORD@$database_password@g" ../conf/install_database.py - sudo python ../conf/install_database.py +# Setup database: not working +# sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/install_database.py +# sudo sed -i "s@DOMAIN_DATABASE@${domain//./-}@g" ../conf/install_database.py +# sudo sed -i "s@DATABASE_LANG@$database_lang@g" ../conf/install_database.py +# sudo sed -i "s@DATABASE_PASSWORD@$database_password@g" ../conf/install_database.py +# sudo python ../conf/install_database.py # Setup LDAP: TO BE DONE