summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 84c6d74f..648e251d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet
+ o fix testing for/var/lib/urpmi/stale_upgrade_in_progress
+
Version 2.64 - 21 October 2008
- mdkapplet
diff --git a/mdkapplet b/mdkapplet
index 3cc44639..409a513b 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -264,7 +264,7 @@ ugtk2::exit(0);
sub is_there_a_new_distributions() {
$product_id = common::parse_LDAP_namespace_structure(cat_("$root/etc/product.id"));
return if $product_id->{product} =~ /Flash/;
- return 1 if get_stale_upgrade_filename();
+ return 1 if -e get_stale_upgrade_filename();
#- contact the following URL to retrieve the list of released distributions.
my $type = lc($product_id->{type}); $type =~ s/\s//g;
my $extra_path = $::testing || uc($config{TEST_DISTRO_UPGRADE}) eq 'YES' ? 'testing-' : '';