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 84803648..19c10d89 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1819,7 +1819,7 @@ sub update_those_media { my $unsubstituted_url = $medium->{url}; $medium->{url} = urpm::cfg::expand_line($medium->{url}) if $medium->{url}; my $rc = _update_medium($urpm, $medium, %options); - $medium->{url} = $unsubstituted_url; + $medium->{url} = urpm::cfg::substitute_back ($medium->{url}, $unsubstituted_url); $rc or return if !$options{allow_failures}; $updates_result{$rc || 'error'}++; } |