summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-03 12:18:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-03 12:18:58 +0000
commit0241717ad27f28a6489807533f138d5aaa4aa5f8 (patch)
tree1e3e088a8baacfcbe4c63d4bd66ca8e4c927f525
parent925762bbe17d0d6e01ef29248383df6e25cf7a6c (diff)
downloaddrakx-backup-do-not-use-0241717ad27f28a6489807533f138d5aaa4aa5f8.tar
drakx-backup-do-not-use-0241717ad27f28a6489807533f138d5aaa4aa5f8.tar.gz
drakx-backup-do-not-use-0241717ad27f28a6489807533f138d5aaa4aa5f8.tar.bz2
drakx-backup-do-not-use-0241717ad27f28a6489807533f138d5aaa4aa5f8.tar.xz
drakx-backup-do-not-use-0241717ad27f28a6489807533f138d5aaa4aa5f8.zip
(setPackages): don't preselect profiles in upgrade
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index fa4ffbc8f..bd412af41 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -323,7 +323,7 @@ sub setPackages {
if ($::auto_install && !$o->{compssUsersChoice}) {
$o->{compssUsersChoice}{$_} = 1 foreach map { @{$o->{compssUsers}{$_}{flags}} } @{$o->{compssUsersSorted}};
}
- if (!$::auto_install) {
+ if (!$::auto_install && !$o->{isUpgrade}) {
#- by default, choose:
$o->{compssUsersChoice}{$_} = 1 foreach 'GNOME', 'KDE', 'CONFIG';
$o->{compssUsersChoice}{$_} = 1