Fix logic

This commit is contained in:
Adrien Ferrand 2019-07-25 12:27:10 +02:00
parent a519b3aac6
commit 541ea83c59
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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