From 720a0d8d23d012ad1b0b8bac00100e56cd82deb1 Mon Sep 17 00:00:00 2001 From: Zamentur aka ljf Date: Fri, 27 Nov 2015 09:41:18 +0100 Subject: [PATCH] [fix] Disable database creation --- scripts/install | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 5f04b7a..49183ed 100644 --- a/scripts/install +++ b/scripts/install @@ -64,7 +64,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 @@ -83,11 +83,11 @@ function exit_properly } trap exit_properly ERR # 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 +#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