summaryrefslogtreecommitdiffstats
path: root/convert
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-09 10:12:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-09 10:12:05 +0000
commit43a53f34a7ea6d9158e7347e7f3e8e5e28b40033 (patch)
treea8e3375e7f82cb5348788c0da56fe5ef80eb8ac8 /convert
parentc83ffa5268ed02a02d71309e20ebcd8d654c7900 (diff)
downloadldetect-lst-43a53f34a7ea6d9158e7347e7f3e8e5e28b40033.tar
ldetect-lst-43a53f34a7ea6d9158e7347e7f3e8e5e28b40033.tar.gz
ldetect-lst-43a53f34a7ea6d9158e7347e7f3e8e5e28b40033.tar.bz2
ldetect-lst-43a53f34a7ea6d9158e7347e7f3e8e5e28b40033.tar.xz
ldetect-lst-43a53f34a7ea6d9158e7347e7f3e8e5e28b40033.zip
check "Driver" availability since XF3.3 is now in contrib
Diffstat (limited to 'convert')
-rwxr-xr-xconvert/verify_Cards.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/convert/verify_Cards.pl b/convert/verify_Cards.pl
index d7ce8352..61d786f3 100755
--- a/convert/verify_Cards.pl
+++ b/convert/verify_Cards.pl
@@ -14,7 +14,10 @@ $cards = Xconfig::card::readCardsDB("../lst/Cards+");
foreach (@cards) {
$nb++;
if (!$cards->{$_}) {
- print STDERR "unknown card: $_\n";
+ warn "unknown card: $_\n";
+ $bad++;
+ } elsif (!$cards->{$_}{Driver}) {
+ warn "no Driver: $_\n";
$bad++;
}
}