summaryrefslogtreecommitdiffstats
path: root/mdkapplet
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 /mdkapplet
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
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
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 {