summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-14 19:35:53 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-14 19:35:53 +0000
commitbbc670648440a36e73b8b0473cc0d4a1f313f35a (patch)
treedef8c949590106677dd208d38bbcb0b5c897ec1a
parent72d2a890727140ae1e000609f0fc93333fe81c95 (diff)
downloaddrakx-bbc670648440a36e73b8b0473cc0d4a1f313f35a.tar
drakx-bbc670648440a36e73b8b0473cc0d4a1f313f35a.tar.gz
drakx-bbc670648440a36e73b8b0473cc0d4a1f313f35a.tar.bz2
drakx-bbc670648440a36e73b8b0473cc0d4a1f313f35a.tar.xz
drakx-bbc670648440a36e73b8b0473cc0d4a1f313f35a.zip
(choose_mirror_from_list) display distro name in mirror list too (#191)
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/network.c4
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);