mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Install Python 3.6 only when building Salt 2019 (stable+git).
This commit is contained in:
parent
898f3948aa
commit
771b813928
1 changed files with 1 additions and 1 deletions
|
@ -7056,7 +7056,7 @@ __gentoo_pre_dep() {
|
|||
fi
|
||||
|
||||
# Enable python 3.6 if installing pre Neon Salt release
|
||||
if echo "${STABLE_REV}" | grep -q "2019" ; then
|
||||
if echo "${STABLE_REV}" | grep -q "2019" || [ "${ITYPE}" = "git" ] && [ "${_POST_NEON_INSTALL}" -eq $BS_FALSE ]; then
|
||||
if ! emerge --info | sed 's/.*\(PYTHON_TARGETS="[^"]*"\).*/\1/' | grep -q 'python3_6' ; then
|
||||
echo "PYTHON_TARGETS=\"\${PYTHON_TARGETS} python3_6\"" >> /etc/portage/make.conf
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue