From d0eaf9230bf5e12712ca228fc93efb4e4040e8fd Mon Sep 17 00:00:00 2001 From: Jamie Murphy Date: Wed, 12 Jul 2023 00:05:00 +0100 Subject: [PATCH] fix rhel_onedir_repository for nightly gpg file --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 29f04130b..97619e061 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -4671,7 +4671,7 @@ __install_saltstack_rhel_onedir_repository() { if [ "${ONEDIR_REV}" = "nightly" ] ; then base_url="${HTTP_VAL}://${_REPO_URL}/${_ONEDIR_NIGHTLY_DIR}/${__PY_VERSION_REPO}/redhat/${DISTRO_MAJOR_VERSION}/\$basearch/" fi - if [ "$(echo "${ONEDIR_REV}" | grep -E '(3004|3005)')" != "" ]; then + if [ "$(echo "${ONEDIR_REV}" | grep -E '(3004|3005)')" != "" ] || [ "${ONEDIR_REV}" = "nightly" ]; then if [ "${DISTRO_MAJOR_VERSION}" -eq 9 ]; then gpg_key="SALTSTACK-GPG-KEY2.pub" else