From 1219d8974b34774c8dfb72def24dffc2f32d395d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Nov 2009 10:04:59 +0000 Subject: (get_distro_list) add version to distribution list requests --- NEWS | 2 ++ mdkapplet | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 8d6122dc..8843270a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- mdkapplet + o add version to distribution list requests - mdkapplet-upgrade-helper o make sure utf8.pm is loaded before starting an upgrade (#55090) diff --git a/mdkapplet b/mdkapplet index 452d4168..9d2a898c 100755 --- a/mdkapplet +++ b/mdkapplet @@ -285,7 +285,7 @@ sub get_distro_list() { #- contact the following URL to retrieve the list of released distributions. my $type = lc($product_id->{type}); $type =~ s/\s//g; my $extra_path = $::testing || uc($config{TEST_DISTRO_UPGRADE}) eq 'YES' ? 'testing-' : ''; - my $list = "https://api.mandriva.com/distributions/$extra_path$type.$product_id->{arch}.list?product=$product_id->{product}"; + my $list = "https://api.mandriva.com/distributions/$extra_path$type.$product_id->{arch}.list?product=$product_id->{product}&version=$product_id->{version}"; log::explanations("trying distributions list from $list"); eval { -- cgit v1.2.1