Skip to content

Commit

Permalink
Updated date, and makecache for RedHat family
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurphy18 committed Nov 18, 2024
1 parent f2b7f56 commit 0c1de07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#======================================================================================================================
set -o nounset # Treat unset variables as an error

__ScriptVersion="2024.11.11"
__ScriptVersion="2024.11.18"
__ScriptName="bootstrap-salt.sh"

__ScriptFullName="$0"
Expand Down Expand Up @@ -2679,8 +2679,10 @@ __install_pip_pkgs() {
else
__PACKAGES="${__PACKAGES} ${_py_pkg}-devel"
if [ "$DISTRO_NAME_L" = "fedora" ];then
dnf makecache || return 1
__dnf_install_noinput ${__PACKAGES} || return 1
else
yum makecache || return 1
__yum_install_noinput ${__PACKAGES} || return 1
fi
fi
Expand Down Expand Up @@ -4292,6 +4294,7 @@ install_fedora_onedir() {
fi

# shellcheck disable=SC2086
dnf makecache || return 1
__yum_install_noinput ${__PACKAGES} || return 1

return 0
Expand Down Expand Up @@ -4445,6 +4448,7 @@ install_centos_stable() {
__PACKAGES="${__PACKAGES} sudo"

# shellcheck disable=SC2086
yum makecache || return 1
__yum_install_noinput ${__PACKAGES} || return 1

# Workaround for 3.11 broken on CentOS Stream 8.x
Expand Down Expand Up @@ -4686,6 +4690,7 @@ install_centos_onedir() {
fi

# shellcheck disable=SC2086
dnf makecache || return 1
__yum_install_noinput ${__PACKAGES} || return 1

return 0
Expand Down

0 comments on commit 0c1de07

Please sign in to comment.