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:
parent
db43e6ddc1
commit
ee01a74569
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
APPNAME="odoo"
|
APPNAME="odoo"
|
||||||
|
|
||||||
function define_paths() {
|
function define_paths() {
|
||||||
|
command -v bc >/dev/null 2>&1 || ynh_package_install bc
|
||||||
# In odoo 10 some file change
|
# In odoo 10 some file change
|
||||||
if [ $(echo "$odoo_version >= 10" | bc) -ne 0 ]; then
|
if [ $(echo "$odoo_version >= 10" | bc) -ne 0 ]; then
|
||||||
if [ $(echo "$odoo_version >= 11" | bc) -ne 0 ]; then
|
if [ $(echo "$odoo_version >= 11" | bc) -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue