summaryrefslogtreecommitdiffstats
path: root/mdkapplet
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 /mdkapplet
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)
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 3 insertions, 0 deletions
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;