summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-11-09 10:04:59 +0000
committerThierry Vignaud <tv@mandriva.org>2009-11-09 10:04:59 +0000
commit1219d8974b34774c8dfb72def24dffc2f32d395d (patch)
treeac29d9e36e555f7f62489630ce116b47743f0426
parente5103c45d407a1336154ab1f31cfc05b311e56b5 (diff)
downloadmgaonline-1219d8974b34774c8dfb72def24dffc2f32d395d.tar
mgaonline-1219d8974b34774c8dfb72def24dffc2f32d395d.tar.gz
mgaonline-1219d8974b34774c8dfb72def24dffc2f32d395d.tar.bz2
mgaonline-1219d8974b34774c8dfb72def24dffc2f32d395d.tar.xz
mgaonline-1219d8974b34774c8dfb72def24dffc2f32d395d.zip
(get_distro_list) add version to distribution list requests
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet2
2 files changed, 3 insertions, 1 deletions
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 {