From 60923e24f744532969e922d4e5ba53f670f82d9e Mon Sep 17 00:00:00 2001 From: Nick Vyzas Date: Sat, 15 Feb 2020 20:34:30 +0200 Subject: [PATCH] Extending to handle symlink python --- .../images/proxysql/rhel-compliant/entrypoint/entrypoint.bash | 2 +- .../proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash b/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash index c1aa88d262..7f60166079 100755 --- a/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash +++ b/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash @@ -6,7 +6,7 @@ env echo "==> Dirty patching to ensure OS deps are installed" -if [[ -f "/usr/bin/python" ]]; +if [[ -f "/usr/bin/python" ]] || [[ -h "/usr/bin/python" ]]; then echo "==> Installing dependancies for RHEL compliant version 7" yum -y install gnutls-devel libtool || true diff --git a/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash b/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash index 5255a74502..602892a011 100755 --- a/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash +++ b/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash @@ -9,7 +9,7 @@ env echo "==> Dirty patching to ensure OS deps are installed" -if [[ -f "/usr/bin/python" ]]; +if [[ -f "/usr/bin/python" ]] || [[ -h "/usr/bin/python" ]]; then echo "==> Installing dependancies for RHEL compliant version 7" yum -y install gnutls-devel libtool || true