diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-19 14:20:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-02-19 14:20:29 +0000 |
commit | b75714484ec718e1982cee0484ee699518e8c9e1 (patch) | |
tree | be7281cca0b1b533a96ae4fd765725ca7a35ce29 /perl-install/standalone/drakxtv | |
parent | 4de46662a28d575921b8a8abcd25e69e75960351 (diff) | |
download | drakx-backup-do-not-use-b75714484ec718e1982cee0484ee699518e8c9e1.tar drakx-backup-do-not-use-b75714484ec718e1982cee0484ee699518e8c9e1.tar.gz drakx-backup-do-not-use-b75714484ec718e1982cee0484ee699518e8c9e1.tar.bz2 drakx-backup-do-not-use-b75714484ec718e1982cee0484ee699518e8c9e1.tar.xz drakx-backup-do-not-use-b75714484ec718e1982cee0484ee699518e8c9e1.zip |
workaround a drakx bug which don't always add bttv to /etc/modules
Diffstat (limited to 'perl-install/standalone/drakxtv')
-rwxr-xr-x | perl-install/standalone/drakxtv | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv index 515af17a9..c691c421c 100755 --- a/perl-install/standalone/drakxtv +++ b/perl-install/standalone/drakxtv @@ -112,6 +112,8 @@ You can install it by typing \"urpmi xawtv\" as root, in a console."))); # Note that this'll be broken if/when we implement interactive::qt my $use_X = $in->isa('interactive::gtk') && -x "/usr/X11R6/bin/xvt"; my $home = $ENV{HOME}; + my $is_bttv_loaded = cat_("/proc/modules"); + run_program::run('/sbin/modprobe', 'bttv') if $< == 0 && $is_bttv_loaded !~ /bttv/; my $i = system(($use_X ? "xvt -T '" . N("Scanning for TV channels") . " ...' -e " : "") . "scantv -n $norm -f $ftable_id -o $home/.xawtv" . ($use_X ? "" : " &>$home/tmp/scantv.log;")); |