From 916d343308d74b648ca9f00d12e45f387f6e71f9 Mon Sep 17 00:00:00 2001 From: ch3ll Date: Wed, 30 Oct 2019 12:16:02 -0400 Subject: [PATCH] Fix packages variable --- bootstrap-salt.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index e8bf55e..64558cd 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -3864,7 +3864,7 @@ install_centos_git_deps() { __git_clone_and_checkout || return 1 - [ -z "${__PACKAGES}" ] && __PACKAGES="" + __PACKAGES="" if [ -n "$_PY_EXE" ] && [ "$_PY_MAJOR_VERSION" -eq 3 ]; then _py=${_PY_EXE} if [ "$DISTRO_MAJOR_VERSION" -ge 8 ]; then @@ -3889,9 +3889,9 @@ install_centos_git_deps() { if [ "$DISTRO_MAJOR_VERSION" -ge 8 ]; then __install_tornado_pip ${_py} || return 1 - __PACKAGES="python3-m2crypto" + __PACKAGES="${__PACKAGES} python3-m2crypto" else - __PACKAGES="m2crypto ${PY_PKG_VER}-crypto" + __PACKAGES="${__PACKAGES} m2crypto ${PY_PKG_VER}-crypto" fi __PACKAGES="${__PACKAGES} python${PY_PKG_VER}-jinja2"