mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Fix Arch Linux installs
This commit is contained in:
parent
9ff35a97ba
commit
c539ffa2b7
1 changed files with 10 additions and 2 deletions
|
@ -5515,11 +5515,19 @@ install_arch_linux_stable_deps() {
|
|||
pacman-db-upgrade || return 1
|
||||
fi
|
||||
|
||||
if [ -n "$_PY_EXE" ] && [ "$_PY_MAJOR_VERSION" -eq 2 ]; then
|
||||
PY_PKG_VER=2
|
||||
else
|
||||
PY_PKG_VER=""
|
||||
fi
|
||||
|
||||
# YAML module is used for generating custom master/minion configs
|
||||
pacman -Su --noconfirm --needed python2-yaml
|
||||
# shellcheck disable=SC2086
|
||||
pacman -Su --noconfirm --needed python${PY_PKG_VER}-yaml
|
||||
|
||||
if [ "$_INSTALL_CLOUD" -eq $BS_TRUE ]; then
|
||||
pacman -Su --noconfirm --needed python2-apache-libcloud || return 1
|
||||
# shellcheck disable=SC2086
|
||||
pacman -Su --noconfirm --needed python${PY_PKG_VER}-apache-libcloud || return 1
|
||||
fi
|
||||
|
||||
if [ "${_EXTRA_PACKAGES}" != "" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue