summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-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;