diff options
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/install/steps.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 74f93745e..6fa8c76de 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- do not crash if there's no mirror cache to erase + Version 13.61 - 01 August 2011 - clear the mirror cache before upgrading (#1557) diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index 86421be43..5bb9499c9 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -259,7 +259,7 @@ sub choosePackages { my ($o, $o_compssListLevel) = @_; #- clear the mirror cache before upgrading: - rm_rf("$::prefix/var/cache/urpmi/mirrors.cache"); + eval { rm_rf("$::prefix/var/cache/urpmi/mirrors.cache") }; #- now for upgrade, package that must be upgraded are #- selected first, after is used the same scheme as install. |