From 29babe4245e35bbdfca1f0279f6cf0f6530282ca Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Tue, 27 Dec 2022 18:35:13 +0000 Subject: fix test --- src/common-utils/main.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/common-utils') diff --git a/src/common-utils/main.sh b/src/common-utils/main.sh index 6b1df8a..b6793d6 100644 --- a/src/common-utils/main.sh +++ b/src/common-utils/main.sh @@ -153,7 +153,6 @@ install_redhat_packages() { lsof \ net-tools \ psmisc \ - curl \ wget \ ca-certificates \ rsync \ @@ -174,6 +173,12 @@ install_redhat_packages() { man-db \ strace" + # rockylinux:9 installs 'curl-minimal' which clashes with 'curl' + # Install 'curl' for every OS except this rockylinux:9 + if [[ "${ID}" = "rocky" ]] && [[ "${VERSION}" != *"9."* ]]; then + package_list="${package_list} curl" + fi + # Install OpenSSL 1.0 compat if needed if ${install_cmd} -q list compat-openssl10 >/dev/null 2>&1; then package_list="${package_list} compat-openssl10" -- cgit v1.2.3