summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-16 17:01:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-16 17:01:52 +0000
commit917834ae3e027da1e071aa2989f8705d05acbde6 (patch)
treeab1b39c7c978e484da608752d8be4f1d5f88c265 /perl-install
parente1525b8bf2292dd69773951180f1dfb00343529a (diff)
downloaddrakx-917834ae3e027da1e071aa2989f8705d05acbde6.tar
drakx-917834ae3e027da1e071aa2989f8705d05acbde6.tar.gz
drakx-917834ae3e027da1e071aa2989f8705d05acbde6.tar.bz2
drakx-917834ae3e027da1e071aa2989f8705d05acbde6.tar.xz
drakx-917834ae3e027da1e071aa2989f8705d05acbde6.zip
(setPackages): set flag "TV" when bttv hardware is there
Diffstat (limited to 'perl-install')
-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 d12523340..4c03f888d 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -320,10 +320,10 @@ sub setPackages {
if ($::auto_install && !$o->{compssUsersChoice}) {
$o->{compssUsersChoice}{$_} = 1 foreach map { @{$o->{compssUsers}{$_}{flags}} } @{$o->{compssUsersSorted}};
}
+ $o->{compssUsersChoice}{TV} = 1 if grep { $_->{driver} eq 'bttv' } detect_devices::probeall();
$o->{compssUsersChoice}{SYSTEM} = 1;
$o->{compssUsersChoice}{BURNER} = 1 if detect_devices::burners();
$o->{compssUsersChoice}{PCMCIA} = 1 if detect_devices::hasPCMCIA();
-
$o->{compssUsersChoice}{'3D'} = 1 if
detect_devices::matching_desc('Matrox.* G[24]00') ||
detect_devices::matching_desc('Riva.*128') ||