diff --git a/scripts/install b/scripts/install index a0b0eb1..7b3f03e 100644 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,7 @@ sudo yunohost app setting $app domain -v $domain # Install Odoo sudo curl -sS https://nightly.odoo.com/odoo.key | sudo apt-key add - - sudo sh -c 'echo "deb http://nightly.odoo.com/8.0/nightly/deb/ ./" > /etc/apt/sources.list.d/odoo.list' + sudo sh -c 'echo "deb http://nightly.odoo.com/${odoo_version}/nightly/deb/ ./" > /etc/apt/sources.list.d/odoo.list' sudo apt-get update sudo apt-get -y install wkhtmltopdf sudo apt-get -y install odoo