summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-26 16:48:39 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-26 16:48:39 +0000
commit4f57f188a0b2567175aa43ab29e579c2fa298309 (patch)
tree0e659e3915bea5a8ccc9795ff1c8a041b239379f /mdkapplet
parent7f73c98df7c7441701de188ce6a4025362a42480 (diff)
downloadmgaonline-4f57f188a0b2567175aa43ab29e579c2fa298309.tar
mgaonline-4f57f188a0b2567175aa43ab29e579c2fa298309.tar.gz
mgaonline-4f57f188a0b2567175aa43ab29e579c2fa298309.tar.bz2
mgaonline-4f57f188a0b2567175aa43ab29e579c2fa298309.tar.xz
mgaonline-4f57f188a0b2567175aa43ab29e579c2fa298309.zip
(is_there_a_new_distributions) fix check on 2008.0 which wrongly
reports 'Devel' instead of 'Official'
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 338774c4..5172b118 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -286,7 +286,8 @@ ugtk2::exit(0);
sub is_there_a_new_distributions() {
# sanity check for cooker:
- return if $product_id->{branch} eq 'Devel';
+ # (2008.0 wrongly reports 'Devel' instead of 'Official'):
+ return if $product_id->{branch} eq 'Devel' && !is_it_2008_0();
my @distros = get_distro_list();
return if !@distros;