diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-04-30 16:48:58 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-04-30 16:48:58 +0000 |
commit | 76bfef958e89c95069e5c38d6bff860c7dd23f5c (patch) | |
tree | f398b12f4e51c0158d4e9b960428ea5794fa6451 /mdkapplet | |
parent | 8646440c1ca7a95cafcdb0b9700db853b930c8ce (diff) | |
download | mgaonline-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-x | mdkapplet | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |