summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
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);