mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Merge pull request #1054 from vutny/fix-centos-git-deps
Fix `git` bootstrap mode for CentOS
This commit is contained in:
commit
5ddefbdbfd
1 changed files with 1 additions and 5 deletions
|
@ -3732,9 +3732,7 @@ install_centos_stable_post() {
|
|||
}
|
||||
|
||||
install_centos_git_deps() {
|
||||
if [ $_DISABLE_REPOS -eq $BS_FALSE ]; then
|
||||
__install_epel_repository || return 1
|
||||
fi
|
||||
install_centos_stable_deps || return 1
|
||||
|
||||
if [ "$_INSECURE_DL" -eq $BS_FALSE ] && [ "${_SALT_REPO_URL%%://*}" = "https" ]; then
|
||||
if [ "$DISTRO_MAJOR_VERSION" -gt 5 ]; then
|
||||
|
@ -3744,8 +3742,6 @@ install_centos_git_deps() {
|
|||
fi
|
||||
fi
|
||||
|
||||
install_centos_stable_deps || return 1
|
||||
|
||||
if ! __check_command_exists git; then
|
||||
__yum_install_noinput git || return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue