diff options
-rw-r--r-- | NEWS | 5 | ||||
-rwxr-xr-x | mdkapplet | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +- mdkapplet + o do not do anything if current distribution isn't listed on + api.mandriva.com, thus fixing offering to upgrade 2010.0 to 2009.1 + (#55017) + Version 2.77.7 - 29 October 2009, Thierry Vignaud - mdkapplet @@ -333,6 +333,9 @@ sub is_there_a_new_distributions() { my @distros = map { common::parse_LDAP_namespace_structure(chomp_($_)) } @lines; + # do not do anything if current distribution isn't listed on api.mdv.com: + return if !member($product_id->{version}, map { $_->{version} } @distros); + # only compare first distro: if it's not the same as the currently installed one, # then it's the most recent release: my $new_distribution = $distros[0]; |