From 673c78b63f7d3534b3309c854cb90a75865baf7d Mon Sep 17 00:00:00 2001 From: Nick Vyzas Date: Sat, 15 Feb 2020 20:29:45 +0200 Subject: [PATCH] Handling failure when Python is installed --- .../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 bf6321f303..c1aa88d262 100755 --- a/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash +++ b/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash @@ -13,7 +13,7 @@ then else echo "==> Installing dependancies for RHEL compliant version 8" yum -y install python2 gnutls-devel libtool || true - ln -s /usr/bin/python2.7 /usr/bin/python + ln -s /usr/bin/python2.7 /usr/bin/python || true fi echo "==> Cleaning" diff --git a/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash b/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash index b48a59368c..5255a74502 100755 --- a/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash +++ b/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash @@ -16,7 +16,7 @@ then else echo "==> Installing dependancies for RHEL compliant version 8" yum -y install python2 gnutls-devel libtool || true - ln -s /usr/bin/python2.7 /usr/bin/python + ln -s /usr/bin/python2.7 /usr/bin/python || true fi echo "==> Cleaning"