summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-18 02:44:26 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-18 02:44:26 +0000
commit937e1a7af94e6e322326e54514d21d8e6e58e92d (patch)
treee64397f50757e01cadadf7e2e85390d1b4fde7fc /perl-install
parentdb64bb57b6e27aa1d814dbe45ba4a941538b2f2b (diff)
downloaddrakx-backup-do-not-use-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar
drakx-backup-do-not-use-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar.gz
drakx-backup-do-not-use-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar.bz2
drakx-backup-do-not-use-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar.xz
drakx-backup-do-not-use-937e1a7af94e6e322326e54514d21d8e6e58e92d.zip
really show a warning if no tv card is detected
Diffstat (limited to 'perl-install')
-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 7b8e79838..fb054fc6a 100755
--- a/perl-install/standalone/drakxtv
+++ b/perl-install/standalone/drakxtv
@@ -145,7 +145,7 @@ if (@devices = @$devices_ok) {
}
# we failed to detect any TV card:
-if (!$devices && !$devices_ok) {
+if (is_empty_array_ref($devices) && is_empty_array_ref($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
N("No TV Card has been detected on your machine. Please verify that a Linux-supported Video/TV Card is correctly plugged in.