summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-08-01 18:44:14 +0000
committerThierry Vignaud <tv@mageia.org>2011-08-01 18:44:14 +0000
commit5f4ef2416fd53d27b2f58fec80f81e32fbc91651 (patch)
treefb5e2e1ac534fa65c62fb7ada8d7826d54e080c2 /perl-install/install/steps.pm
parentc8702830fa9a2a40ce1b9e7095fa58a827025950 (diff)
downloaddrakx-5f4ef2416fd53d27b2f58fec80f81e32fbc91651.tar
drakx-5f4ef2416fd53d27b2f58fec80f81e32fbc91651.tar.gz
drakx-5f4ef2416fd53d27b2f58fec80f81e32fbc91651.tar.bz2
drakx-5f4ef2416fd53d27b2f58fec80f81e32fbc91651.tar.xz
drakx-5f4ef2416fd53d27b2f58fec80f81e32fbc91651.zip
(choosePackages) clear the mirror cache before upgrading (#1557)
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r--perl-install/install/steps.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index ca9281822..86421be43 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -258,6 +258,9 @@ sub selectSupplMedia { '' }
sub choosePackages {
my ($o, $o_compssListLevel) = @_;
+ #- clear the mirror cache before upgrading:
+ 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.