summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-02-24 10:33:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-02-24 10:33:32 +0000
commitef107c3cd27b17b2e41d6f12d91b4e3e28647783 (patch)
treefe817b0d80dc58e903a13a222b0c463d35e079c7 /perl-install/standalone
parent123974505da50fe77061ca0b3c21b68a421df0b5 (diff)
downloaddrakx-ef107c3cd27b17b2e41d6f12d91b4e3e28647783.tar
drakx-ef107c3cd27b17b2e41d6f12d91b4e3e28647783.tar.gz
drakx-ef107c3cd27b17b2e41d6f12d91b4e3e28647783.tar.bz2
drakx-ef107c3cd27b17b2e41d6f12d91b4e3e28647783.tar.xz
drakx-ef107c3cd27b17b2e41d6f12d91b4e3e28647783.zip
explain
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakxtv3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv
index d200f0da7..b3bbe8e93 100755
--- a/perl-install/standalone/drakxtv
+++ b/perl-install/standalone/drakxtv
@@ -119,6 +119,7 @@ my ($devices, $devices_ok) = partition { detect_devices::isTVcard($_) } @devices
my $modules_conf;
+# handle TV cards which driver needs to be configured b/c it cannot autodetect the card & tuner types:
if (@devices = @$devices) {
my $not_canceled = 1;
# TODO: That need some work for multiples TV cards
@@ -135,6 +136,7 @@ if (@devices = @$devices) {
} @devices
}
+# handle TV cards that do not require any driver configuration:
if (@devices = @$devices_ok) {
require modules;
$modules_conf ||= modules::any_conf->read;
@@ -142,6 +144,7 @@ if (@devices = @$devices_ok) {
scan4channels();
}
+# we failed to detect any TV card:
if (!$devices && !$devices_ok) {
$in->ask_warn(N("No TV Card detected!"), formatAlaTeX(
#-PO: keep the double empty lines between sections, this is formatted a la LaTeX