From b04c8f5be139cbb0bda3f1d640edc800c10ef09b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Nov 2006 16:02:04 +0000 Subject: {probe_with} and {with_hdlist} should not be together. In any case, we don't want to workaround a bad {with_hdlist} --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index a910dd8c..bb95b1e0 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1389,7 +1389,7 @@ this could happen if you mounted manually the directory when creating the medium my $error; #- try to probe for possible with_hdlist parameter, unless #- it is already defined (and valid). - if ($options->{probe_with} && (!$medium->{with_hdlist} || ! -e "$dir/$medium->{with_hdlist}")) { + if ($options->{probe_with} && !$medium->{with_hdlist}) { foreach (_probe_with_try_list($medium->{url}, $options->{probe_with})) { -e "$dir/$_" or next; if (file_size("$dir/$_") > 32) { -- cgit v1.2.1