summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-16 20:35:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-16 20:35:31 +0000
commit31fb2c2e9d3025bc7dbad038c632ab8a34a9a310 (patch)
tree1d97767119a0f13e5b5c70ac0283dd4dd36a12f0 /perl-install/install_any.pm
parent1130e84c3a27b0c1c6a05981137975b5c84bd9df (diff)
downloaddrakx-backup-do-not-use-31fb2c2e9d3025bc7dbad038c632ab8a34a9a310.tar
drakx-backup-do-not-use-31fb2c2e9d3025bc7dbad038c632ab8a34a9a310.tar.gz
drakx-backup-do-not-use-31fb2c2e9d3025bc7dbad038c632ab8a34a9a310.tar.bz2
drakx-backup-do-not-use-31fb2c2e9d3025bc7dbad038c632ab8a34a9a310.tar.xz
drakx-backup-do-not-use-31fb2c2e9d3025bc7dbad038c632ab8a34a9a310.zip
more up to my need ALL flag in compssUsersChoice
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 6990cc418..01178f014 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -357,6 +357,9 @@ sub setPackages {
pkgs::read_rpmsrate($o->{packages}, getFile("Mandrake/base/rpmsrate"));
($o->{compssUsers}, $o->{compssUsersSorted}) = pkgs::readCompssUsers($o->{meta_class});
+ if ($::auto_install && $o->{compssUsersChoice}{ALL}) {
+ $o->{compssUsersChoice}{$_} = 1 foreach map { @{$o->{compssUsers}{$_}{flags}} } @{$o->{compssUsersSorted}};
+ }
if (!$o->{compssUsersChoice} && !$o->{isUpgrade}) {
#- by default, choose:
$o->{compssUsersChoice}{$_} = 1 foreach 'GNOME', 'KDE', 'CONFIG';