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 | |
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
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | mdkapplet | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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) @@ -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 { |