diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-04 01:07:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-04 01:07:25 +0000 |
commit | 47a3c86a9cda91ee0f79dc81dc7096483d14aa47 (patch) | |
tree | fa68ec72fac0fd623bfadaa178b68e9732d53b1f /convert/uniquify-modalias.pl | |
parent | 45246d84a7744b2525fdde55eaaa23e82d75997b (diff) | |
download | ldetect-lst-47a3c86a9cda91ee0f79dc81dc7096483d14aa47.tar ldetect-lst-47a3c86a9cda91ee0f79dc81dc7096483d14aa47.tar.gz ldetect-lst-47a3c86a9cda91ee0f79dc81dc7096483d14aa47.tar.bz2 ldetect-lst-47a3c86a9cda91ee0f79dc81dc7096483d14aa47.tar.xz ldetect-lst-47a3c86a9cda91ee0f79dc81dc7096483d14aa47.zip |
further simplify
Diffstat (limited to 'convert/uniquify-modalias.pl')
-rwxr-xr-x | convert/uniquify-modalias.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/convert/uniquify-modalias.pl b/convert/uniquify-modalias.pl index c964f9a6..830a37d3 100755 --- a/convert/uniquify-modalias.pl +++ b/convert/uniquify-modalias.pl @@ -94,8 +94,9 @@ sub print_module { @modules or return; my @category_deferred_modules = map { - @{$category_deferred_modules{$_} || []}; - } map { list_modules::module2category($_->[1]) } @modules; + my $l = list_modules::module2category($_->[1]); + @{$category_deferred_modules{$l} || []}; + } @modules; @modules > 1 || @category_deferred_modules or return; |