diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-26 18:21:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-26 18:21:33 +0000 |
commit | 9ed563a30887b0ce4c8672bf7079c493a42595a3 (patch) | |
tree | be7a1c19919371eaecebc9c6c621e77182c75037 /iurt2 | |
parent | c74efdb64f25d0b45fe31a469a6bd8b11c6fe254 (diff) | |
download | iurt-9ed563a30887b0ce4c8672bf7079c493a42595a3.tar iurt-9ed563a30887b0ce4c8672bf7079c493a42595a3.tar.gz iurt-9ed563a30887b0ce4c8672bf7079c493a42595a3.tar.bz2 iurt-9ed563a30887b0ce4c8672bf7079c493a42595a3.tar.xz iurt-9ed563a30887b0ce4c8672bf7079c493a42595a3.zip |
(check_media) further simplify
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1306,9 +1306,7 @@ sub check_media { my $p = $1; my ($name) = $p =~ /(.*)-[^-]+-[^-]+\./; $provides->{$p} = 1; - foreach (@prov) { - $pack_provide->{$_} = $name; - } + $pack_provide->{$_} = $name foreach @prov; } } } else { |