1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00

[fix] Missing bc command

This commit is contained in:
ljf 2018-09-19 15:12:04 +02:00
parent db43e6ddc1
commit ee01a74569

View file

@ -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