diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-14 19:35:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-14 19:35:53 +0000 |
commit | b9a744fa2b352a2b7f204672b2e6fbee7079d82d (patch) | |
tree | def8c949590106677dd208d38bbcb0b5c897ec1a | |
parent | 7754d2179178c195a8d1806870a50378ed66aef2 (diff) | |
download | drakx-backup-do-not-use-b9a744fa2b352a2b7f204672b2e6fbee7079d82d.tar drakx-backup-do-not-use-b9a744fa2b352a2b7f204672b2e6fbee7079d82d.tar.gz drakx-backup-do-not-use-b9a744fa2b352a2b7f204672b2e6fbee7079d82d.tar.bz2 drakx-backup-do-not-use-b9a744fa2b352a2b7f204672b2e6fbee7079d82d.tar.xz drakx-backup-do-not-use-b9a744fa2b352a2b7f204672b2e6fbee7079d82d.zip |
(choose_mirror_from_list) display distro name in mirror list too (#191)
-rw-r--r-- | mdk-stage1/NEWS | 2 | ||||
-rw-r--r-- | mdk-stage1/network.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index 99016e833..2c68c8054 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,3 +1,5 @@ +- display distro name in mirror list too (#191) + 1.52: - fix build with gcc-4.6.2 * fixes -Werror=unused-but-set-variable diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index a1af8af0f..fa515f02d 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -861,8 +861,8 @@ static int choose_mirror_from_host_list(mirrorlist_t mirrorlist, char **selected static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port, const char *protocol, char **selected_host, char **filepath) { enum return_type results; - char *versions[] = { "Specify the mirror manually", DISTRIB_VERSION, NULL }; - char *version = DISTRIB_VERSION; + char *versions[] = { "Specify the mirror manually", DISTRIB_NAME " " DISTRIB_VERSION, NULL }; + char *version = DISTRIB_NAME " " DISTRIB_VERSION; do { results = ask_from_list("Please select a medium from the list below.", versions, &version); |