Author: joeyh Date: 2005-06-27 20:55:09 +0000 (Mon, 27 Jun 2005) New Revision: 1283 Modified: data/checklist Log: don''t try to run dpkg --compare-versions for unfixed kernel versions Modified: data/checklist ==================================================================--- data/checklist 2005-06-27 20:41:07 UTC (rev 1282) +++ data/checklist 2005-06-27 20:55:09 UTC (rev 1283) @@ -117,8 +117,10 @@ if ($package=~/kernel-source-([0-9.]+)/) { my $kernversion=$1; - if (exists $needkernel{$kernversion}) { - $needkernel{$kernversion}=$version if !system("dpkg --compare-versions $needkernel{$kernversion} lt $version"); + if (exists $needkernel{$kernversion} && + length $version && + system("dpkg --compare-versions $needkernel{$kernversion} lt $version") != 0) { + $needkernel{$kernversion}=$version; } }