diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-10-04 08:10:31 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-10-04 08:14:00 +0200 |
commit | 8f6713833256ebd299f20c9634262009fafee359 (patch) | |
tree | 827cda795b973782b065901a5af0d7d95d3d58e4 | |
parent | b4bd0c408e113ab07eceb9ce56ff9c670950cefb (diff) | |
download | iurt-8f6713833256ebd299f20c9634262009fafee359.tar iurt-8f6713833256ebd299f20c9634262009fafee359.tar.gz iurt-8f6713833256ebd299f20c9634262009fafee359.tar.bz2 iurt-8f6713833256ebd299f20c9634262009fafee359.tar.xz iurt-8f6713833256ebd299f20c9634262009fafee359.zip |
simplify
-rwxr-xr-x | iurt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1112,7 +1112,7 @@ sub check_media { my $name = $pkg->name; $provides->{$pkg->fullname} = 1; foreach ($pkg->provides) { - if ($_ =~ /([^[]+)(?:\[(.*)\])?/g) { + if (/([^[]+)(?:\[(.*)\])?/g) { $provides->{$1} = $2 || 1; } } |