diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-22 12:02:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-22 12:02:04 +0000 |
commit | 124797d7b18ca516652a2191582b79969730e2dd (patch) | |
tree | ccfdc32c57e4229b2458fbb7938719824a9315c9 | |
parent | 75ff66dfcc3cdf5b8d6991f103c223e476f2920a (diff) | |
download | mgaonline-124797d7b18ca516652a2191582b79969730e2dd.tar mgaonline-124797d7b18ca516652a2191582b79969730e2dd.tar.gz mgaonline-124797d7b18ca516652a2191582b79969730e2dd.tar.bz2 mgaonline-124797d7b18ca516652a2191582b79969730e2dd.tar.xz mgaonline-124797d7b18ca516652a2191582b79969730e2dd.zip |
(is_there_a_new_distributions) fix testing for/var/lib/urpmi/stale_upgrade_in_progress
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- mdkapplet + o fix testing for/var/lib/urpmi/stale_upgrade_in_progress + Version 2.64 - 21 October 2008 - 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-' : ''; |