aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-26 18:21:33 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-26 18:21:33 +0000
commit9ed563a30887b0ce4c8672bf7079c493a42595a3 (patch)
treebe7a1c19919371eaecebc9c6c621e77182c75037 /iurt2
parentc74efdb64f25d0b45fe31a469a6bd8b11c6fe254 (diff)
downloadiurt-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-xiurt24
1 files changed, 1 insertions, 3 deletions
diff --git a/iurt2 b/iurt2
index 44d41b3..400ef5e 100755
--- a/iurt2
+++ b/iurt2
@@ -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 {