diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-08-17 13:51:06 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-08-17 13:51:06 +0000 |
commit | 32517eb5e832588774c41e88eabfbcf9b021aa13 (patch) | |
tree | 2ae927ea1774670600ff393903a03cc655a06892 /urpm/media.pm | |
parent | dac6343ddf2df8e1cb9039c8c1c13fced598cc08 (diff) | |
download | urpmi-32517eb5e832588774c41e88eabfbcf9b021aa13.tar urpmi-32517eb5e832588774c41e88eabfbcf9b021aa13.tar.gz urpmi-32517eb5e832588774c41e88eabfbcf9b021aa13.tar.bz2 urpmi-32517eb5e832588774c41e88eabfbcf9b021aa13.tar.xz urpmi-32517eb5e832588774c41e88eabfbcf9b021aa13.zip |
don't attempt to expand empty media urls, fixes #52860
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 61f2a6ba..58f2a7ae 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1812,7 +1812,7 @@ sub update_those_media { $medium->{static} and next; my $unsubstituted_url = $medium->{url}; - $medium->{url} = urpm::cfg::expand_line($medium->{url}); + $medium->{url} = urpm::cfg::expand_line($medium->{url}) if $medium->{url}; my $rc = _update_medium($urpm, $medium, %options); $medium->{url} = $unsubstituted_url; $rc or return if !$options{allow_failures}; |