Skip to content

Commit dce8072

Browse files
committed
Move RHEL <10 .repo files to their own directory
.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 <pawel.gronowski@docker.com>
1 parent 30c930e commit dce8072

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,9 @@ do_install() {
573573
exit 1
574574
fi
575575
repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE"
576+
if [ $dist_version -lt 10 ]; then
577+
repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$dist_version/$REPO_FILE"
578+
fi
576579
(
577580
if ! is_dry_run; then
578581
set -x

0 commit comments

Comments
 (0)