diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-05-04 13:51:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-05-04 13:51:12 +0000 |
commit | 9ff99bcab0f5ca5159daeab1eb0cf678662f2b42 (patch) | |
tree | 125c206eeb1a88d986fd673879ecfac559153b2b /urpm | |
parent | 124c84a7b764273358c6700c02ea8dc21c3bb9c3 (diff) | |
download | urpmi-9ff99bcab0f5ca5159daeab1eb0cf678662f2b42.tar urpmi-9ff99bcab0f5ca5159daeab1eb0cf678662f2b42.tar.gz urpmi-9ff99bcab0f5ca5159daeab1eb0cf678662f2b42.tar.bz2 urpmi-9ff99bcab0f5ca5159daeab1eb0cf678662f2b42.tar.xz urpmi-9ff99bcab0f5ca5159daeab1eb0cf678662f2b42.zip |
- urpmi.addmedia
o [bugfix] look for media/$media_dir/media_info/pubkey instead of
media/$media_dir/pubkey
Diffstat (limited to 'urpm')
-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 92b6221f..a416abab 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1164,7 +1164,7 @@ sub _get_list_or_pubkey__local { my ($urpm, $medium, $name) = @_; my $path = _hdlist_dir($medium) . "/$name" . _hdlist_suffix($medium); - -e $path or $path = file_from_local_url($medium->{url}) . "/$name"; + -e $path or $path = file_from_local_url($medium->{url}) . "/media_info/$name"; if (-e $path) { $urpm->{log}(N("copying [%s] for medium \"%s\"...", $path, $medium->{name})); copy_and_own($path, "$urpm->{cachedir}/partial/$name") |