From c432e49788ffa2eca22579f3f9223af36f5c0480 Mon Sep 17 00:00:00 2001 From: Ronald van Zantvoort Date: Tue, 14 Aug 2018 19:21:14 +0200 Subject: [PATCH] Fedora: prevent possible unassigned operator error in stable install as well --- bootstrap-salt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 2de6ac5..d8ec859 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -3419,6 +3419,7 @@ install_fedora_deps() { dnf -y update || return 1 fi + __PACKAGES="${__PACKAGES:=}" if [ -n "$_PY_EXE" ] && [ "$_PY_MAJOR_VERSION" -eq 3 ]; then # Packages are named python3- PY_PKG_VER=3 @@ -3490,7 +3491,7 @@ install_fedora_git_deps() { PY_PKG_VER=2 fi - __PACKAGES= + __PACKAGES="${__PACKAGES:=}" if [ "$_INSECURE_DL" -eq $BS_FALSE ] && [ "${_SALT_REPO_URL%%://*}" = "https" ]; then __PACKAGES="${__PACKAGES} ca-certificates" fi