From a07f25cb937ca8c69fd6abbd40089fbc335f5463 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 13 Nov 2006 16:24:55 +0000 Subject: this can't hurt: {url} ends with $dir, and it may even help in case if non-local media --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1