From a0c7a708088b5cd9cd8ffebb30267f67371d2f3f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Oct 2008 16:34:26 +0000 Subject: (get_stale_upgrade_filename,is_there_a_new_distributions,upgrade,upgrade_distro_congratulations) be able to detect unfinished upgrades, even if mandriva-release already got upgraded --- mdkapplet | 1 + 1 file changed, 1 insertion(+) (limited to 'mdkapplet') diff --git a/mdkapplet b/mdkapplet index 4556fa71..3cc44639 100755 --- a/mdkapplet +++ b/mdkapplet @@ -264,6 +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(); #- 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