summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-04 12:38:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-04 12:38:18 +0000
commit86801afe7975649afc27ae78c1f5d68b378992f4 (patch)
tree3ed313bdd687efd0600efeded520be1d977c6e86 /perl-install/install_any.pm
parent1b7000ef112ef96ac58441762f38285ffbabb07d (diff)
downloaddrakx-86801afe7975649afc27ae78c1f5d68b378992f4.tar
drakx-86801afe7975649afc27ae78c1f5d68b378992f4.tar.gz
drakx-86801afe7975649afc27ae78c1f5d68b378992f4.tar.bz2
drakx-86801afe7975649afc27ae78c1f5d68b378992f4.tar.xz
drakx-86801afe7975649afc27ae78c1f5d68b378992f4.zip
create a new flags "X" selected by default, contain what X related packages
which were in "SYSTEM"
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 293dc20c1..b76941b94 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -362,6 +362,7 @@ sub setPackages {
$o->{compssUsersChoice}{uc($_)} = 1 foreach grep { modules::get_that_type($_) } ('tv', 'scanner', 'photo', 'sound');
$o->{compssUsersChoice}{uc($_)} = 1 foreach map { $_->{driver} =~ /Flag:(.*)/ } detect_devices::probeall();
$o->{compssUsersChoice}{SYSTEM} = 1;
+ $o->{compssUsersChoice}{X} = 1 if !$::auto_install;
$o->{compssUsersChoice}{BURNER} = 1 if detect_devices::burners();
$o->{compssUsersChoice}{DVD} = 1 if detect_devices::dvdroms();
$o->{compssUsersChoice}{PCMCIA} = 1 if detect_devices::hasPCMCIA();