From 124797d7b18ca516652a2191582b79969730e2dd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 22 Oct 2008 12:02:04 +0000 Subject: (is_there_a_new_distributions) fix testing for/var/lib/urpmi/stale_upgrade_in_progress --- mdkapplet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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-' : ''; -- cgit v1.2.1