From 8a5bfdce794c623821507f51a3fe7609f09576d9 Mon Sep 17 00:00:00 2001 From: scith Date: Mon, 14 Sep 2015 19:10:35 +0200 Subject: [PATCH] fix --- scripts/install | 2 +- scripts/remove | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 5c18f50..c051768 100644 --- a/scripts/install +++ b/scripts/install @@ -37,7 +37,7 @@ sudo yunohost app setting $app domain -v $domain sudo apt-get -y install odoo # Set admin password - sudo sed -i "s@admin_passwd = admin@admin_passwd = $admin_password@g" ../conf/openerp-server.conf + sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/openerp-server.conf sudo cp ../conf/openerp-server.conf /etc/odoo/openerp-server.conf sudo chown odoo:odoo /etc/odoo/openerp-server.conf diff --git a/scripts/remove b/scripts/remove index 197822f..bdd672d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -2,8 +2,8 @@ app=odoo # Remove Odoo - sudo apt-get remove odoo - sudo apt-get remove wkhtmltopdf + sudo apt-get remove odoo -y + sudo apt-get remove wkhtmltopdf -y sudo yunohost service remove odoo # Remove NGINX conf