summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-23 10:22:20 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-23 10:22:20 +0000
commitde43395b454c0133a2d5e6d83c29bdf16bc45188 (patch)
tree12d4c9dcda8e6b16a360cfe5110e1b017e5f91f7 /mdk-stage1
parentb2103fcbcede869a43cc48097f64b428f8fe05f8 (diff)
downloaddrakx-backup-do-not-use-de43395b454c0133a2d5e6d83c29bdf16bc45188.tar
drakx-backup-do-not-use-de43395b454c0133a2d5e6d83c29bdf16bc45188.tar.gz
drakx-backup-do-not-use-de43395b454c0133a2d5e6d83c29bdf16bc45188.tar.bz2
drakx-backup-do-not-use-de43395b454c0133a2d5e6d83c29bdf16bc45188.tar.xz
drakx-backup-do-not-use-de43395b454c0133a2d5e6d83c29bdf16bc45188.zip
use mirrors with type=distrib only (skip both type=iso and type=updates, #34912)
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/network.c4
1 files changed, 2 insertions, 2 deletions
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=");