summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-09-05 15:25:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-09-05 15:25:55 +0000
commit8e8ee798295c4147330a1fbd907d6214c7be5716 (patch)
tree22bf13841ce7c9800db59ce3216c9e200229f3bc
parenta54c3784b15abf55c8e35fc55761b65d6c060671 (diff)
downloaddrakx-8e8ee798295c4147330a1fbd907d6214c7be5716.tar
drakx-8e8ee798295c4147330a1fbd907d6214c7be5716.tar.gz
drakx-8e8ee798295c4147330a1fbd907d6214c7be5716.tar.bz2
drakx-8e8ee798295c4147330a1fbd907d6214c7be5716.tar.xz
drakx-8e8ee798295c4147330a1fbd907d6214c7be5716.zip
add flag CDCOM when using commercial cds
-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 9e1f97fe1..8a6e5dfc1 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -382,6 +382,7 @@ sub setDefaultPackages {
$o->{compssUsersChoice}{HIGH_SECURITY} = 1 if $o->{security} > 3;
$o->{compssUsersChoice}{BIGMEM} = 1 if !$::oem && (availableRamMB() > 800) && (arch() !~ /ia64/);
$o->{compssUsersChoice}{SMP} = 1 if detect_devices::hasSMP();
+ $o->{compssUsersChoice}{CDCOM} = 1 if grep { $_->{descr} =~ /commercial/i } values %{$o->{packages}{mediums}};
$o->{compssUsersChoice}{'3D'} = 1 if
detect_devices::matching_desc('Matrox.* G[245][05]0') ||
detect_devices::matching_desc('Rage X[CL]') ||