diff options
author | Francois Pons <fpons@mandriva.com> | 2001-09-11 17:55:04 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-09-11 17:55:04 +0000 |
commit | 1bd0d656514612a737ea1b1011d9a210ad17ccd3 (patch) | |
tree | 385f56a24f297c4f19efcee0f98ced2317e82d4c /urpm.pm | |
parent | 4a679109584c808942101f808f2dc88ba65abf97 (diff) | |
download | urpmi-1bd0d656514612a737ea1b1011d9a210ad17ccd3.tar urpmi-1bd0d656514612a737ea1b1011d9a210ad17ccd3.tar.gz urpmi-1bd0d656514612a737ea1b1011d9a210ad17ccd3.tar.bz2 urpmi-1bd0d656514612a737ea1b1011d9a210ad17ccd3.tar.xz urpmi-1bd0d656514612a737ea1b1011d9a210ad17ccd3.zip |
fixed bug when trying to urpmi.addmedia name http://... with hdlist.cz, a
missing / in with_hdlist cause the bug...
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -496,7 +496,7 @@ sub update_media { } } } else { - my $basename = $medium->{with_hdlist} =~ /^.*\/([^\/]*)$/ && $1; + my $basename = ($medium->{with_hdlist} =~ /^.*\/([^\/]*)$/ && $1) || $medium->{with_hdlist}; #- try to get the description if it has been found. unlink "$urpm->{cachedir}/partial/descriptions"; |