From 334c4c652cfe2e4c7c4d214c0d9d8c47f6d889ae Mon Sep 17 00:00:00 2001 From: scith Date: Mon, 14 Sep 2015 20:38:40 +0200 Subject: [PATCH] fix --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 175efb6..5b96d4b 100644 --- a/scripts/install +++ b/scripts/install @@ -40,6 +40,9 @@ sudo yunohost app setting $app domain -v $domain sudo apt-get -y -qq install odoo + # Install wkhtmltopdf to print PDF reports + sudo apt-get -y -qq install wkhtmltopdf + # Set admin password sudo sed -i "s@ADMIN_PASSWORD@$admin_password@g" ../conf/openerp-server.conf sudo cp ../conf/openerp-server.conf /etc/odoo/openerp-server.conf @@ -53,10 +56,7 @@ sudo yunohost app setting $app domain -v $domain sudo yunohost service add odoo sudo yunohost service stop odoo sudo yunohost service start odoo - - # Install wkhtmltopdf to print PDF reports - sudo apt-get -y -qq install wkhtmltopdf - + # Configure Nginx and reload sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf