summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-04-30 16:48:58 +0000
committerOlivier Blin <oblin@mandriva.com>2010-04-30 16:48:58 +0000
commit76bfef958e89c95069e5c38d6bff860c7dd23f5c (patch)
treef398b12f4e51c0158d4e9b960428ea5794fa6451
parent8646440c1ca7a95cafcdb0b9700db853b930c8ce (diff)
downloadmgaonline-76bfef958e89c95069e5c38d6bff860c7dd23f5c.tar
mgaonline-76bfef958e89c95069e5c38d6bff860c7dd23f5c.tar.gz
mgaonline-76bfef958e89c95069e5c38d6bff860c7dd23f5c.tar.bz2
mgaonline-76bfef958e89c95069e5c38d6bff860c7dd23f5c.tar.xz
mgaonline-76bfef958e89c95069e5c38d6bff860c7dd23f5c.zip
do not offer distribution upgrade on OEM Philco systems (they have no specific updates repo, here is the only direct way to blacklist upgrade)
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet3
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index bbedca8e..06afbc4c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet
+ o do not offer distribution upgrade on OEM Philco systems
+
Version 2.77.15.17 - 10 February 2010, Thierry Vignaud
- mdkapplet
o fix dates display wrong by one month
diff --git a/mdkapplet b/mdkapplet
index a05fd2c3..42e516ce 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -309,6 +309,9 @@ sub is_there_a_new_distributions() {
# sanity check for cooker:
# (2008.0 wrongly reports 'Devel' instead of 'Official'):
return if $product_id->{branch} eq 'Devel' && !is_it_2008_0();
+ # some OEM Philco systems have no specific updates repo
+ # so we can only blacklist them here directly
+ return if cat_("/etc/oem-release") =~ /philco/i;
my @distros = get_distro_list();
return if !@distros;