summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20110915/9f48b38f/attachment-0001.obj
blob: 4d04d94be1a9aeefb8521729e37d513f19ab82e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(selectInstallClass) just remove every package before reinstalling them when upgrading mandriva

diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index a1376cf..5e5b523 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -178,6 +178,7 @@ sub selectInstallClass {
 	    $o->{upgrade_by_removing_pkgs_matching} ||= {
 		conectiva => 'cl',
 		redhat => '.', #- everything!
+		mandriva => '.', #- everything!
 	    }->{$o->{isUpgrade}};
 	    log::l("upgrading $o->{isUpgrade} distribution" . ($o->{upgrade_by_removing_pkgs_matching} ? " (upgrade_by_removing_pkgs_matching $o->{upgrade_by_removing_pkgs_matching})" : ''));
 	}