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 | |
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
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/media.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ - urpmi.addmedia + o [bugfix] look for media/$media_dir/media_info/pubkey instead of + media/$media_dir/pubkey o with --distrib, don't use previous media's pubkey if a pubkey is missing (eg: use pubkey_main for media "Main Updates" when pubkey_main_updates is missing) 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") |