From 622b64078ae6834f2c7fb27ab11407bdf0ff10c7 Mon Sep 17 00:00:00 2001 From: ewilly Date: Mon, 7 Feb 2022 22:37:55 +0100 Subject: [PATCH] Fix dpkg --compare-versions --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 10e86ec..7ec34da 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -65,7 +65,7 @@ myynh_install_python () { fi # Compare version - if [ $(dpkg --compare-versions $py_apt_version ge $python) ] + if $(dpkg --compare-versions $py_apt_version ge $python) then # APT >= Required ynh_print_info --message="Using provided python3..." @@ -74,7 +74,7 @@ myynh_install_python () { else # Either python already built or to build - if [ $(dpkg --compare-versions $py_built_version ge $python) ] + if $(dpkg --compare-versions $py_built_version ge $python) then # Built >= Required ynh_print_info --message="Using already used python3 built version..."