Set ONEDIR_REV incase we end up calling install_centos_onedir_deps.

This commit is contained in:
Gareth J. Greenaway 2022-12-21 10:40:46 -08:00
parent 4779cc92ff
commit ca683c6ac3
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

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