summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-27 17:15:23 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-27 17:15:23 +0000
commit6aaf7d1e438b9820164b94d3b548a858bb6abf68 (patch)
tree3634d28f369060cb1f2e452b8a6c32a077e14cda /urpm
parent6b1205316bc4f4f521ed6ba6649dbfd2167a2f63 (diff)
downloadurpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar
urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar.gz
urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar.bz2
urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar.xz
urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.zip
perl_checker cleanups
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index dfb3d4e8..6caf3b8a 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -646,7 +646,7 @@ sub configure {
}
}
if ($options{update}) {
- foreach (grep { !$_->{ignore} && ($_->{update}) } @{$urpm->{media} || []}) {
+ foreach (grep { !$_->{ignore} && $_->{update} } @{$urpm->{media} || []}) {
#- Ensure update media are selected
$_->{modified} = 1;
_tempignore($_, 0);