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
+3 -3
View File
@@ -101,13 +101,13 @@ install_base() {
apt-get update && apt-get install -y -q cron curl tar tzdata socat ca-certificates openssl
;;
fedora | amzn | virtuozzo | rhel | almalinux | rocky | ol)
dnf -y update && dnf install -y -q cronie curl tar tzdata socat ca-certificates openssl
dnf makecache -y && dnf install -y -q cronie curl tar tzdata socat ca-certificates openssl
;;
centos)
if [[ "${VERSION_ID}" =~ ^7 ]]; then
yum -y update && yum install -y cronie curl tar tzdata socat ca-certificates openssl
yum makecache -y && yum install -y cronie curl tar tzdata socat ca-certificates openssl
else
dnf -y update && dnf install -y -q cronie curl tar tzdata socat ca-certificates openssl
dnf makecache -y && dnf install -y -q cronie curl tar tzdata socat ca-certificates openssl
fi
;;
arch | manjaro | parch)