From 06fb259a142491d2fe2960e9360981202010aad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Wed, 17 Sep 2025 14:44:52 +0200 Subject: [PATCH] Move RHEL <10 .repo files to their own directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .repo files for RHEL 8 and 9 are moved to their directories and the top-level .repo now uses $releasever_major to point to the correct baseurl. Signed-off-by: Paweł Gronowski --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 0ef47571..92ed4f29 100755 --- a/install.sh +++ b/install.sh @@ -573,6 +573,9 @@ do_install() { exit 1 fi repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE" + if [ "$dist_version" -lt 10 ]; then + repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$dist_version/$REPO_FILE" + fi ( if ! is_dry_run; then set -x