This commit is contained in:
scith 2015-09-14 18:23:11 +02:00
parent b481ae2bb7
commit f8f8b883c8

View file

@ -27,11 +27,9 @@ sudo yunohost app setting $app domain -v $domain
# Install Odoo # Install Odoo
sudo curl -sS https://nightly.odoo.com/odoo.key | sudo apt-key add - sudo curl -sS https://nightly.odoo.com/odoo.key | sudo apt-key add -
if [ "$odoo_version" = "8.0" ]; if [ "$odoo_version" = "8.0" ]; then
then
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/8.0/nightly/deb/ ./" > /etc/apt/sources.list.d/odoo.list'
elif [ "$odoo_version" = "9.0" ]; else
then
sudo sh -c 'echo "deb http://nightly.odoo.com/9.0/nightly/deb/ ./" > /etc/apt/sources.list.d/odoo.list' sudo sh -c 'echo "deb http://nightly.odoo.com/9.0/nightly/deb/ ./" > /etc/apt/sources.list.d/odoo.list'
fi fi
sudo apt-get update sudo apt-get update