From 168b6787d848ace92afa22bcc3cb5003b036e7ca Mon Sep 17 00:00:00 2001 From: Jeff Neel <10672501+jeff350@users.noreply.github.com> Date: Thu, 7 Jan 2021 15:09:11 -0600 Subject: [PATCH] correct install location --- bootstrap-salt.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 4570f78..a6adb33 100644 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -4217,6 +4217,14 @@ install_centos_stable_deps() { __PACKAGES="${__PACKAGES} PyYAML" fi fi + else + if [ -n "$_PY_EXE" ] && [ "$_PY_MAJOR_VERSION" -eq 3 ]; then + if [ "$DISTRO_MAJOR_VERSION" -ge 8 ]; then + __PACKAGES="${__PACKAGES} python3-setuptools" + else + __PACKAGES="${__PACKAGES} python36-setuptools" + fi + fi fi # shellcheck disable=SC2086