summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-20 16:02:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-20 16:02:04 +0000
commitb04c8f5be139cbb0bda3f1d640edc800c10ef09b (patch)
treebfa78f1e428dd0b9996a194c70d98efca98e954d
parente69f00bd0787bd02b8df9b287c46d4c62121c73c (diff)
downloadurpmi-b04c8f5be139cbb0bda3f1d640edc800c10ef09b.tar
urpmi-b04c8f5be139cbb0bda3f1d640edc800c10ef09b.tar.gz
urpmi-b04c8f5be139cbb0bda3f1d640edc800c10ef09b.tar.bz2
urpmi-b04c8f5be139cbb0bda3f1d640edc800c10ef09b.tar.xz
urpmi-b04c8f5be139cbb0bda3f1d640edc800c10ef09b.zip
{probe_with} and {with_hdlist} should not be together. In any case, we don't want to workaround a bad {with_hdlist}
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
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) {