diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 12:47:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 12:47:18 +0000 |
commit | 619879b7c1f17c8edc6478364b679ad8c68e1231 (patch) | |
tree | 86fccad3ce19f8488a8cb1d17bbc22c6aefaefe5 | |
parent | 06bc248e8dcc20ab2b6609890285f4d49ed8a792 (diff) | |
download | mgaonline-619879b7c1f17c8edc6478364b679ad8c68e1231.tar mgaonline-619879b7c1f17c8edc6478364b679ad8c68e1231.tar.gz mgaonline-619879b7c1f17c8edc6478364b679ad8c68e1231.tar.bz2 mgaonline-619879b7c1f17c8edc6478364b679ad8c68e1231.tar.xz mgaonline-619879b7c1f17c8edc6478364b679ad8c68e1231.zip |
(is_there_a_new_distributions) rename a variable b/c of hidden
variable (bug in previous commit)
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -300,12 +300,12 @@ sub is_there_a_new_distributions() { # only compare first distro: if it's not the same as the currently installed one, # then it's the most recent release: - my $new_distro = $distros[0]; + my $new_distribution = $distros[0]; return if !member($product_id->{version}, map { $_->{version} } @distros); - if ($new_distro && $new_distro->{version} ne $product_id->{version}) { - $::new_distro = $new_distro; + if ($new_distribution && $new_distribution->{version} ne $product_id->{version}) { + $new_distro = $new_distribution; log::explanations(sprintf("new '%s' distribution was released on %s", $new_distro->{version}, $new_distro->{release_date})); return 1; } |