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