From de43395b454c0133a2d5e6d83c29bdf16bc45188 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 23 Oct 2007 10:22:20 +0000 Subject: use mirrors with type=distrib only (skip both type=iso and type=updates, #34912) --- mdk-stage1/network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/network.c') diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index 8c70e4437..17dc90fce 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -796,8 +796,8 @@ static enum return_type get_mirrorlist(mirrorlist_t mirrorlist, int start, char line[line_pos] = '\0'; line_pos = 0; - /* skip medium if it looks like an updates one */ - if (strstr(line, ",type=updates,")) + /* skip medium if it does not look like a distrib path */ + if (!strstr(line, ",type=distrib,")) continue; url = strstr(line, ",url="); -- cgit v1.2.1