diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-11-09 10:04:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-11-09 10:04:59 +0000 |
commit | 1219d8974b34774c8dfb72def24dffc2f32d395d (patch) | |
tree | ac29d9e36e555f7f62489630ce116b47743f0426 /mdkapplet | |
parent | e5103c45d407a1336154ab1f31cfc05b311e56b5 (diff) | |
download | mgaonline-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-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |