summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 219e573a..e403f4b9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- mdkapplet
o actually honor DO_NOT_ASK_FOR_NO_MORE_SUPPORTED
+ o do not backport the "live upgrade" feature on 2008.0 since it's
+ unsupported/untested (missing urpmi support)
o restore old behaviour when detecting a new distro
o make link button usable in no more supported dialog
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}));