From 892eb003f0ee738202e034f04e284d330b56b012 Mon Sep 17 00:00:00 2001 From: scith Date: Wed, 16 Sep 2015 12:22:28 +0200 Subject: [PATCH] Autoinstall database --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 073bd73..54e5599 100644 --- a/scripts/install +++ b/scripts/install @@ -62,7 +62,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 - pip install oerplib + sudo pip install oerplib # Add services sudo yunohost service add postgresql @@ -76,7 +76,7 @@ fi 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 - python ../conf/install_database.py + sudo python ../conf/install_database.py # Setup LDAP: TO BE DONE