summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-13 16:24:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-13 16:24:55 +0000
commita07f25cb937ca8c69fd6abbd40089fbc335f5463 (patch)
tree13e37050056302d6053f66c9d9244c5fdecbff4d /urpm.pm
parentf28243c5076abcb72c9fdd7094d5f09a4fafb31f (diff)
downloadurpmi-a07f25cb937ca8c69fd6abbd40089fbc335f5463.tar
urpmi-a07f25cb937ca8c69fd6abbd40089fbc335f5463.tar.gz
urpmi-a07f25cb937ca8c69fd6abbd40089fbc335f5463.tar.bz2
urpmi-a07f25cb937ca8c69fd6abbd40089fbc335f5463.tar.xz
urpmi-a07f25cb937ca8c69fd6abbd40089fbc335f5463.zip
this can't hurt: {url} ends with $dir, and it may even help in case if non-local media
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 32a8a7db..5f684900 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1543,7 +1543,7 @@ this could happen if you mounted manually the directory when creating the medium
my @probe_list = (
$medium->{with_hdlist}
? $medium->{with_hdlist}
- : _probe_with_try_list(_guess_hdlist_suffix($dir), $options{probe_with})
+ : _probe_with_try_list(_guess_hdlist_suffix($medium->{url}), $options{probe_with})
);
foreach my $with_hdlist (@probe_list) {
$basename = basename($with_hdlist) or next;