From 5d7347e24513c2e46b9b8325d3f6559dbefad67e Mon Sep 17 00:00:00 2001 From: Thibaut ROMAIN <thibaut.romain@cs-soprasteria.com> Date: Wed, 16 Oct 2024 17:47:56 +0200 Subject: [PATCH] PKG: fix a typo on ubuntu package --- Packaging/Files/post_install.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packaging/Files/post_install.sh.in b/Packaging/Files/post_install.sh.in index 92bbf8f43a..9f847e753c 100644 --- a/Packaging/Files/post_install.sh.in +++ b/Packaging/Files/post_install.sh.in @@ -36,7 +36,7 @@ sh "$OTB_INSTALL_DIR"/tools/sanitize_rpath.sh pyversion="$(python3 -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]*\).*/\1\2/')" ostype="$(lsb_release -is)" # Recompile OTB Python bindings -if [ "$pyversion" -ne "310" ] && [ $ostype -ne "RedHatEnterprise"] ; then +if [ "$pyversion" -ne "310" ] && [ $ostype != "RedHatEnterprise" ] ; then sh "$OTB_INSTALL_DIR"/recompile_bindings.sh fi # Check python version, if python 3.12 (ubuntu 24 and debian > 12) download and extract the gdal bindings for python 3.12 -- GitLab