From 2cc98713f85013d192e01d2dce7ecf8ce3791079 Mon Sep 17 00:00:00 2001 From: iliajie Date: Sun, 16 Oct 2022 16:20:49 +0300 Subject: [PATCH] Revert "Fix enabling `codeready` on RHEL 9" This reverts commit 568a7a1afe28999fae9ddd27847883118155bf67. --- virtualmin-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index ff5d6cd..b244939 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -1085,7 +1085,7 @@ install_with_yum() { # Enable CodeReady and EPEL on RHEL 8+ if [ "$os_major_version" -ge 8 ] && [ "$os_type" = "rhel" ]; then # Important Perl packages are now hidden in CodeReady repo - run_ok "$install_config_manager --set-enabled codeready-builder-for-rhel-$os_major_version-x86_64*-rpms" "Enabling Red Hat CodeReady package repository" + run_ok "$install_config_manager --set-enabled codeready-builder-for-rhel-$os_major_version-x86_64-rpms" "Enabling Red Hat CodeReady package repository" # Install EPEL download "https://dl.fedoraproject.org/pub/epel/epel-release-latest-$os_major_version.noarch.rpm" >>$log 2>&1 run_ok "rpm -U --replacepkgs --quiet epel-release-latest-$os_major_version.noarch.rpm" "Installing EPEL $os_major_version release package"