summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 7fc05b6c..ccca9c1c 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -481,6 +481,7 @@ sub configure {
my $second_pass;
do {
foreach (grep { !$_->{ignore} && (!$options{update} || $_->{update}) } @{$urpm->{media} || []}) {
+ our $currentmedia = $_; #- hack for urpmf
delete @$_{qw(start end)};
if ($_->{virtual}) {
my $path = $_->{url} =~ m{^(?:file:/*)?(/[^/].*[^/])/*$} && $1;