fix(scripts): avoid rpm package upgrades before installs (#5750)

This commit is contained in:
Vitaliy Pavlov
2026-07-03 02:01:54 +04:00
committed by GitHub
parent 1afab47f04
commit ed95acdd47
3 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ install_base() {
;;
centos)
if [[ "${VERSION_ID}" =~ ^7 ]]; then
yum -y update > /dev/null 2>&1 && yum install -y -q cronie curl tar tzdata socat openssl > /dev/null 2>&1
yum makecache -y > /dev/null 2>&1 && yum install -y -q cronie curl tar tzdata socat openssl > /dev/null 2>&1
else
dnf makecache -y > /dev/null 2>&1 && dnf install -y -q cronie curl tar tzdata socat openssl > /dev/null 2>&1
fi