summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-03-08 12:36:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-03-08 12:36:02 +0000
commite80c6bc54b1d64c53edf57f417bee30132e95d36 (patch)
tree7ac5eb8126a7619163684aad8cffce67cd75ba8b /perl-install/install_any.pm
parenta5323893d8857901416e8feab3ed88ce2a0a28ba (diff)
downloaddrakx-e80c6bc54b1d64c53edf57f417bee30132e95d36.tar
drakx-e80c6bc54b1d64c53edf57f417bee30132e95d36.tar.gz
drakx-e80c6bc54b1d64c53edf57f417bee30132e95d36.tar.bz2
drakx-e80c6bc54b1d64c53edf57f417bee30132e95d36.tar.xz
drakx-e80c6bc54b1d64c53edf57f417bee30132e95d36.zip
- rename DOCS to CAT_MINIMAL_DOCS
- cuz otherwise DOCS is a "always" flag and modifying it afterwise is useless - CAT_DOCS would be not precise enough - simplify the "changed" callback
Diffstat (limited to 'perl-install/install_any.pm')
-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 6e65e8c0e..20f5e95f6 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -840,6 +840,7 @@ sub set_rpmsrate_category_flags {
$o->{rpmsrate_flags_chosen}{$_} = 0 foreach grep { /^CAT_/ } keys %{$o->{rpmsrate_flags_chosen}};
$o->{rpmsrate_flags_chosen}{"CAT_$_"} = 1 foreach map { @{$_->{flags}} } grep { $_->{selected} } @$compssUsers;
$o->{rpmsrate_flags_chosen}{CAT_SYSTEM} = 1;
+ $o->{rpmsrate_flags_chosen}{CAT_MINIMAL_DOCS} = 1;
}
@@ -850,7 +851,6 @@ sub rpmsrate_always_flags {
$rpmsrate_flags_chosen->{qq(META_CLASS"$o->{meta_class}")} = 1;
$rpmsrate_flags_chosen->{uc($_)} = 1 foreach grep { modules::probe_category("multimedia/$_") } modules::sub_categories('multimedia');
$rpmsrate_flags_chosen->{uc($_)} = 1 foreach detect_devices::probe_name('Flag');
- $rpmsrate_flags_chosen->{DOCS} = !$o->{excludedocs};
$rpmsrate_flags_chosen->{UTF8} = $o->{locale}{utf8};
$rpmsrate_flags_chosen->{BURNER} = 1 if detect_devices::burners();
$rpmsrate_flags_chosen->{DVD} = 1 if detect_devices::dvdroms();