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