From ee01a74569191280b4b126cabc075885c3b4d032 Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 19 Sep 2018 15:12:04 +0200 Subject: [PATCH] [fix] Missing bc command --- scripts/_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index f24ac78..b579b44 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,6 +5,7 @@ APPNAME="odoo" function define_paths() { + command -v bc >/dev/null 2>&1 || ynh_package_install bc # In odoo 10 some file change if [ $(echo "$odoo_version >= 10" | bc) -ne 0 ]; then if [ $(echo "$odoo_version >= 11" | bc) -ne 0 ]; then