diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-23 10:22:20 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-23 10:22:20 +0000 |
commit | de43395b454c0133a2d5e6d83c29bdf16bc45188 (patch) | |
tree | 12d4c9dcda8e6b16a360cfe5110e1b017e5f91f7 /mdk-stage1 | |
parent | b2103fcbcede869a43cc48097f64b428f8fe05f8 (diff) | |
download | drakx-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.c | 4 |
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="); |