From b481ae2bb71b7311c3cf5282c16f526b4362c3f1 Mon Sep 17 00:00:00 2001 From: scith Date: Mon, 14 Sep 2015 18:22:01 +0200 Subject: [PATCH] fix verison --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a2fd683..1fcda55 100644 --- a/scripts/install +++ b/scripts/install @@ -27,10 +27,11 @@ 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" ] + 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" ] + elif [ "$odoo_version" = "9.0" ]; + then 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