diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-18 02:44:26 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-18 02:44:26 +0000 |
commit | 937e1a7af94e6e322326e54514d21d8e6e58e92d (patch) | |
tree | e64397f50757e01cadadf7e2e85390d1b4fde7fc | |
parent | db64bb57b6e27aa1d814dbe45ba4a941538b2f2b (diff) | |
download | drakx-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar drakx-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar.gz drakx-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar.bz2 drakx-937e1a7af94e6e322326e54514d21d8e6e58e92d.tar.xz drakx-937e1a7af94e6e322326e54514d21d8e6e58e92d.zip |
really show a warning if no tv card is detected
-rwxr-xr-x | perl-install/standalone/drakxtv | 2 |
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. |