summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakxtv
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-20 08:47:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-20 08:47:52 +0000
commit42feef294a5356edbc0308248bf807d6b7761c05 (patch)
tree7de10bba665634cb21c4f257d6c070cde0c4f800 /perl-install/standalone/drakxtv
parent21980c17bfe65eb14c8f43069678f19e1d209e08 (diff)
downloaddrakx-42feef294a5356edbc0308248bf807d6b7761c05.tar
drakx-42feef294a5356edbc0308248bf807d6b7761c05.tar.gz
drakx-42feef294a5356edbc0308248bf807d6b7761c05.tar.bz2
drakx-42feef294a5356edbc0308248bf807d6b7761c05.tar.xz
drakx-42feef294a5356edbc0308248bf807d6b7761c05.zip
testing mode
Diffstat (limited to 'perl-install/standalone/drakxtv')
-rwxr-xr-xperl-install/standalone/drakxtv2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv
index 83913485d..75515658c 100755
--- a/perl-install/standalone/drakxtv
+++ b/perl-install/standalone/drakxtv
@@ -119,7 +119,7 @@ if (@devices) {
my $configured;
# TODO: That need some work for multiples TV cards
foreach (@devices) {
- if ($< == 0 && (grep { detect_devices::isTVcard($_) } @devices)) {
+ if (($< == 0 || $::testing) && (grep { detect_devices::isTVcard($_) } @devices)) {
require harddrake::v4l;
require modules;
modules::mergein_conf('/etc/modules.conf') if !$configured;