summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-25 10:35:20 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-25 10:35:20 +0000
commit01962bbfe8b3a962a4788383ef7dd15dee1d9091 (patch)
tree08d29eec4e0fd38b06584eac8a2a22fa957a2163 /perl-install/install_any.pm
parent0bd79758c007682b3167c4559018edd4cd176bd8 (diff)
downloaddrakx-01962bbfe8b3a962a4788383ef7dd15dee1d9091.tar
drakx-01962bbfe8b3a962a4788383ef7dd15dee1d9091.tar.gz
drakx-01962bbfe8b3a962a4788383ef7dd15dee1d9091.tar.bz2
drakx-01962bbfe8b3a962a4788383ef7dd15dee1d9091.tar.xz
drakx-01962bbfe8b3a962a4788383ef7dd15dee1d9091.zip
set TV flag when a TV card is detected to install appropriate packages
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 ef70563eb..64af3b059 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -587,6 +587,7 @@ sub setDefaultPackages {
$o->{rpmsrate_flags_chosen}{BIGMEM} = 1 if !$::oem && availableRamMB() > 800 && arch() !~ /ia64|x86_64/;
$o->{rpmsrate_flags_chosen}{SMP} = 1 if detect_devices::hasSMP();
$o->{rpmsrate_flags_chosen}{CDCOM} = 1 if any { $_->{descr} =~ /commercial/i } values %{$o->{packages}{mediums}};
+ $o->{rpmsrate_flags_chosen}{TV} = 1 if detect_devices::getTVcards();
$o->{rpmsrate_flags_chosen}{'3D'} = 1 if
detect_devices::matching_desc('Matrox.* G[245][05]0') ||
detect_devices::matching_desc('Rage X[CL]') ||