From 8f6713833256ebd299f20c9634262009fafee359 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 4 Oct 2017 08:10:31 +0200 Subject: simplify --- iurt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iurt b/iurt index f05c2c6..d52ee6f 100755 --- a/iurt +++ b/iurt @@ -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; } } -- cgit v1.2.1