Fedora: prevent possible unassigned operator error in stable install as well

This commit is contained in:
Ronald van Zantvoort 2018-08-14 19:21:14 +02:00
parent f184a1d3ac
commit c432e49788
No known key found for this signature in database
GPG key ID: D3DE53B7EFF75061

View file

@ -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-<whatever>
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