From 541ea83c59a8ee20603199495eda940d8aca3b1a Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Thu, 25 Jul 2019 12:27:10 +0200 Subject: [PATCH] Fix logic --- letsencrypt-auto-source/letsencrypt-auto | 2 +- .../pieces/bootstrappers/rpm_python3_legacy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/letsencrypt-auto-source/letsencrypt-auto b/letsencrypt-auto-source/letsencrypt-auto index 9feaf5660..e0d9ea640 100755 --- a/letsencrypt-auto-source/letsencrypt-auto +++ b/letsencrypt-auto-source/letsencrypt-auto @@ -517,7 +517,7 @@ BootstrapRpmPython3Legacy() { fi # CentOS 6 must use rh-python36 from SCL - if $TOOL list python3-virtualenv >/dev/null 2>&1; then + if $TOOL list rh-python36 >/dev/null 2>&1; then python_pkgs="rh-python36 " else diff --git a/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh b/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh index 49b4b2b59..4804e6753 100644 --- a/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh +++ b/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh @@ -27,7 +27,7 @@ BootstrapRpmPython3Legacy() { fi # CentOS 6 must use rh-python36 from SCL - if $TOOL list python3-virtualenv >/dev/null 2>&1; then + if $TOOL list rh-python36 >/dev/null 2>&1; then python_pkgs="rh-python36 " else