summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-02 15:59:03 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-02 15:59:03 +0000
commit7d9841b8735a7e75e7168c83d464ef67a2b753dd (patch)
tree9388de74cea033f12a4da1fc40d98c1bc605622c /mdkapplet
parentb83435c2f16380994fcdae7f0bc0b21f95b99ed6 (diff)
downloadmgaonline-7d9841b8735a7e75e7168c83d464ef67a2b753dd.tar
mgaonline-7d9841b8735a7e75e7168c83d464ef67a2b753dd.tar.gz
mgaonline-7d9841b8735a7e75e7168c83d464ef67a2b753dd.tar.bz2
mgaonline-7d9841b8735a7e75e7168c83d464ef67a2b753dd.tar.xz
mgaonline-7d9841b8735a7e75e7168c83d464ef67a2b753dd.zip
(is_there_a_new_distributions) do not backport the "live upgrade"
feature on 2008.0 since it's unsupported/untested (missing urpmi support) (this makes the latest two commits somewhat uneeded)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 7594c7b1..40caf131 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -319,6 +319,9 @@ sub is_there_a_new_distributions() {
return;
}
+ # the "live upgrade" is not available on 2008.0:
+ return if is_it_2008_0();
+
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}));