summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakxtv
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-09-09 16:59:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-09-09 16:59:43 +0000
commit09704c1cf0fd73c8af4e0f97dee7255c8a395e7e (patch)
treeb6b6b5a7e3bd765937994626d9bf50ac40187cee /perl-install/standalone/drakxtv
parentf72792694cdbf2b955d94f4b56274335975df4db (diff)
downloaddrakx-09704c1cf0fd73c8af4e0f97dee7255c8a395e7e.tar
drakx-09704c1cf0fd73c8af4e0f97dee7255c8a395e7e.tar.gz
drakx-09704c1cf0fd73c8af4e0f97dee7255c8a395e7e.tar.bz2
drakx-09704c1cf0fd73c8af4e0f97dee7255c8a395e7e.tar.xz
drakx-09704c1cf0fd73c8af4e0f97dee7255c8a395e7e.zip
install xawtv if needed
Diffstat (limited to 'perl-install/standalone/drakxtv')
-rwxr-xr-xperl-install/standalone/drakxtv18
1 files changed, 1 insertions, 17 deletions
diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv
index 1a50920d1..71c2a52f7 100755
--- a/perl-install/standalone/drakxtv
+++ b/perl-install/standalone/drakxtv
@@ -38,23 +38,8 @@ sub scan4channels() {
# In the future, we might try to install xawtv if it'sn't there as
# we're just a, xawtv wraper
- # -x "/usr/bin/scantv" or $in->do_pkgs->install('xawtv');
- # -x "/usr/bin/scantv" or { exec {'consolehelper'} $0, ("urpmi", "xawtv") or die N("consolehelper missing") };
- if (!$::testing && ! -x "/usr/bin/scantv") {
- # log::explanations("package xawtv isn't installed");
- $in->ask_warn("XawTV isn't installed!",
- formatAlaTeX(N("XawTV isn't installed!
+ -x "/usr/bin/scantv" or $in->do_pkgs->install('xawtv');
-
-If you do have a TV card but DrakX has neither detected it (no bttv nor saa7134
-module in \"/etc/modules\") nor installed xawtv, please send the
-results of \"lspcidrake -v -f\" to \"install\@mandrakesoft.com\"
-with subject \"undetected TV card\".
-
-
-You can install it by typing \"urpmi xawtv\" as root, in a console.")));
-
- } else {
my ($ftable_id, $norm);
# this table must be checked on each xawtv release:
my %freqtables =
@@ -125,7 +110,6 @@ You can install it by typing \"urpmi xawtv\" as root, in a console.")));
N("Now, you can run xawtv (under X Window!) !\n")) unless $use_X;
}
}
- }
}
my @devices = grep { $_->{media_type} eq 'MULTIMEDIA_VIDEO' || $_->{driver} eq 'usbvision' } detect_devices::probeall();