diff options
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 2 |
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); |