From f8f8b883c81d7b83721bcb1dec8b0ca381da6847 Mon Sep 17 00:00:00 2001 From: scith Date: Mon, 14 Sep 2015 18:23:11 +0200 Subject: [PATCH] fix --- scripts/install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 1fcda55..74c8618 100644 --- a/scripts/install +++ b/scripts/install @@ -27,11 +27,9 @@ sudo yunohost app setting $app domain -v $domain # Install Odoo sudo curl -sS https://nightly.odoo.com/odoo.key | sudo apt-key add - - if [ "$odoo_version" = "8.0" ]; - then + if [ "$odoo_version" = "8.0" ]; then sudo sh -c 'echo "deb http://nightly.odoo.com/8.0/nightly/deb/ ./" > /etc/apt/sources.list.d/odoo.list' - elif [ "$odoo_version" = "9.0" ]; - then + else sudo sh -c 'echo "deb http://nightly.odoo.com/9.0/nightly/deb/ ./" > /etc/apt/sources.list.d/odoo.list' fi sudo apt-get update