From 937e1a7af94e6e322326e54514d21d8e6e58e92d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 18 Jul 2005 02:44:26 +0000 Subject: really show a warning if no tv card is detected --- perl-install/standalone/drakxtv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone') 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. -- cgit v1.2.1