From ca683c6ac3cd98ea7c9f3e0b800b4d8a0ec066bb Mon Sep 17 00:00:00 2001 From: "Gareth J. Greenaway" Date: Wed, 21 Dec 2022 10:40:46 -0800 Subject: [PATCH] Set ONEDIR_REV incase we end up calling install_centos_onedir_deps. --- bootstrap-salt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 6ba1da8..bfcdb6e 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -4620,6 +4620,9 @@ install_centos_git_deps() { # First try stable deps then fall back to onedir deps if that one fails # if we're installing on a Red Hat based host that doesn't have the classic # package repos available. + # Set ONEDIR_REV to STABLE_REV in case we + # end up calling install_centos_onedir_deps + ONEDIR_REV=${STABLE_REV} install_centos_stable_deps || \ install_centos_onedir_deps || \ return 1